wok view rhash/receipt @ rev 25669
Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 25 16:11:20 2024 +0000 (9 months ago) |
parents | 2d4208bebf51 |
children |
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }