wok annotate mhash/receipt @ rev 19243
tazlito: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 12:46:13 2016 +0200 (2016-06-28) |
parents | f0b7de721617 |
children | afae00265386 |
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@1323 | 13 # Rules to configure and make the package. |
pascal@1323 | 14 compile_rules() |
pascal@1323 | 15 { |
pascal@1323 | 16 cd $src |
pascal@1323 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1323 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1323 | 19 make |
pascal@15584 | 20 make DESTDIR=$DESTDIR install |
pascal@1323 | 21 } |
pascal@1323 | 22 |
pascal@1323 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1323 | 24 genpkg_rules() |
pascal@1323 | 25 { |
pascal@1323 | 26 mkdir -p $fs/usr/lib |
pascal@15584 | 27 cp -a $install/usr/lib/libmhash.so* $fs/usr/lib |
pascal@1323 | 28 } |
pascal@1323 | 29 |