wok annotate mhash/receipt @ rev 1553
Apply patchs once for bash cromfs cyrus-imapd jwm lsdvd mISDNuser module-init-tools qemu rox-filer xpat2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 12 09:55:00 2008 +0000 (2008-10-12) |
parents | |
children | f0b7de721617 |
rev | line source |
---|---|
pascal@1323 | 1 # SliTaz package receipt. |
pascal@1323 | 2 |
pascal@1323 | 3 PACKAGE="mhash" |
pascal@1323 | 4 VERSION="0.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 |