wok annotate mhash/receipt @ rev 8839
Up slitaz-boot-scripts (4.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 24 19:20:55 2011 +0100 (2011-02-24) |
parents | 4ef973ba95a4 |
children | 3765f181a6d5 |
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@1323 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1323 | 9 WEB_SITE="http://mhash.sourceforge.net/" |
pascal@1323 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1323 | 11 |
pascal@1323 | 12 # Rules to configure and make the package. |
pascal@1323 | 13 compile_rules() |
pascal@1323 | 14 { |
pascal@1323 | 15 cd $src |
pascal@1323 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1323 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1323 | 18 make |
pascal@1323 | 19 make DESTDIR=$PWD/_pkg install |
pascal@1323 | 20 } |
pascal@1323 | 21 |
pascal@1323 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1323 | 23 genpkg_rules() |
pascal@1323 | 24 { |
pascal@1323 | 25 mkdir -p $fs/usr/lib |
pascal@1323 | 26 cp -a $_pkg/usr/lib/libmhash.so* $fs/usr/lib |
pascal@1323 | 27 } |
pascal@1323 | 28 |