wok annotate mhash/receipt @ rev 25260
updated radvd (2.18 -> 2.19)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 07:20:59 2022 +0100 (2022-07-15) |
parents | 3765f181a6d5 |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@1323 | 1 # SliTaz package receipt. |
pascal@1323 | 2 |
pascal@1323 | 3 PACKAGE="mhash" |
slaxemulator@6545 | 4 VERSION="0.9.9.9" |
pascal@1323 | 5 CATEGORY="development" |
pascal@1323 | 6 SHORT_DESC="uniform interface to a large number of hash algorithms." |
pascal@1323 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
pascal@1323 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1323 | 10 WEB_SITE="http://mhash.sourceforge.net/" |
pascal@1323 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1323 | 12 |
pascal@24402 | 13 # What is the latest version available today? |
pascal@24402 | 14 current_version() |
pascal@24402 | 15 { |
pascal@24402 | 16 wget -O - https://sourceforge.net/projects/mhash/files/mhash/ 2>/dev/null | \ |
pascal@24402 | 17 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24402 | 18 sed '/scope="row/!d;s|.*/mhash/||;s|/.*||;q' |
pascal@24402 | 19 } |
pascal@24402 | 20 |
pascal@1323 | 21 # Rules to configure and make the package. |
pascal@1323 | 22 compile_rules() |
pascal@1323 | 23 { |
pascal@1323 | 24 cd $src |
pascal@1323 | 25 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1323 | 26 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1323 | 27 make |
pascal@15584 | 28 make DESTDIR=$DESTDIR install |
pascal@1323 | 29 } |
pascal@1323 | 30 |
pascal@1323 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1323 | 32 genpkg_rules() |
pascal@1323 | 33 { |
pascal@1323 | 34 mkdir -p $fs/usr/lib |
pascal@15584 | 35 cp -a $install/usr/lib/libmhash.so* $fs/usr/lib |
pascal@1323 | 36 } |
pascal@1323 | 37 |