wok view rhash/receipt @ rev 24771

amule: modified MuleDebug.cpp for libbfd-2.37
author Hans-G?nter Theisgen
date Sat Mar 19 15:22:53 2022 +0100 (2022-03-19)
parents 425563100416
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="rhash"
4 VERSION="1.4.0"
5 CATEGORY="misc"
6 SHORT_DESC="Compute and verify hash sums of files"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="https://sourceforge.net/projects/rhash/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="ed2k bthi magnet"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://sourceforge.net/projects/rhash/files/rhash/ 2>/dev/null | \
18 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
19 sed '/scope="row/!d;s|.*/rhash/||;s|/.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure --prefix=/usr --sysconfdir=/etc &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 cp -a $install/etc $fs
37 }