SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "hdparm"

# SliTaz package receipt.

PACKAGE="hdparm"
VERSION="9.63"
CATEGORY="system-tools"
SHORT_DESC="Get and set [S]ATA drive parameters under Linux."
MAINTAINER="lufeng369@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://sourceforge.net/projects/hdparm/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="glibc"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/hdparm/files/hdparm/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*/hdparm-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make &&
    make install DESTDIR=$DESTDIR
}

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