SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sg3_utils"

# SliTaz package receipt.

PACKAGE="sg3_utils"
VERSION="1.47"
CATEGORY="system-tools"
SHORT_DESC="Low level utilities for devices that use a SCSI command set."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL BSD"
WEB_SITE="https://sg.danny.cz/sg/sg3_utils.html"

TARBALL="$PACKAGE-$VERSION.tgz"
WGET_URL="https://sg.danny.cz/sg/p/$TARBALL"

DEPENDS="libsgutils2"
BUILD_DEPENDS=""

# @maintainer:    Please update also libsgutils2

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    export    LDFLAGS="$LDFLAGS -lrt"

    ./configure $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)