wok annotate mcrypt/receipt @ rev 4381
Add: mcrypt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Oct 14 09:21:14 2009 +0000 (2009-10-14) |
parents | |
children | 5b44af8c1257 |
rev | line source |
---|---|
erjo@4381 | 1 # SliTaz package receipt. |
erjo@4381 | 2 |
erjo@4381 | 3 PACKAGE="mcrypt" |
erjo@4381 | 4 VERSION="2.6.8" |
erjo@4381 | 5 CATEGORY="system" |
erjo@4381 | 6 SHORT_DESC="Encryption" |
erjo@4381 | 7 MAINTAINER="erjo@@slitaz.org" |
erjo@4381 | 8 DEPENDS="" |
erjo@4381 | 9 BUILD_DEPENDS="libmcrypt-dev" |
erjo@4381 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@4381 | 11 WEB_SITE="http://mcrypt.sourceforge.net/" |
erjo@4381 | 12 WGET_URL="http://downloads.sourceforge.net/project/mcrypt/MCrypt/$VERSION/$TARBALL" |
erjo@4381 | 13 |
erjo@4381 | 14 # Rules to configure and make the package. |
erjo@4381 | 15 compile_rules() |
erjo@4381 | 16 { |
erjo@4381 | 17 cd $src |
erjo@4381 | 18 ./configure \ |
erjo@4381 | 19 --prefix=/usr \ |
erjo@4381 | 20 --infodir=/usr/share/info \ |
erjo@4381 | 21 --mandir=/usr/share/man \ |
erjo@4381 | 22 $CONFIGURE_ARGS && |
erjo@4381 | 23 make && make DESTDIR=$PWD/_pkg install |
erjo@4381 | 24 } |
erjo@4381 | 25 |
erjo@4381 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4381 | 27 genpkg_rules() |
erjo@4381 | 28 { |
erjo@4381 | 29 mkdir -p $fs/usr |
erjo@4381 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@4381 | 31 } |
erjo@4381 | 32 |