wok-next annotate mcrypt/receipt @ rev 5800
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 14:18:18 2010 +0200 (2010-07-11) |
parents | 5b5f62a0cb2b |
children | e2dd4c43c979 |
rev | line source |
---|---|
erjo@4381 | 1 # SliTaz package receipt. |
erjo@4381 | 2 |
erjo@4381 | 3 PACKAGE="mcrypt" |
erjo@4381 | 4 VERSION="2.6.8" |
pascal@5726 | 5 CATEGORY="security" |
erjo@4381 | 6 SHORT_DESC="Encryption" |
pascal@5724 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@5004 | 8 DEPENDS="zlib mhash libmcrypt" |
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 |