SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "rhash"

# SliTaz package receipt.

PACKAGE="rhash"
VERSION="1.4.0"
CATEGORY="misc"
SHORT_DESC="Compute and verify hash sums of files"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
TARBALL="$PACKAGE-$VERSION-src.tar.gz"
WEB_SITE="https://sourceforge.net/projects/rhash/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="ed2k bthi magnet"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr --sysconfdir=/etc &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin    $fs/usr
    cp -a $install/usr/lib    $fs/usr
    cp -a $install/etc    $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)