wok-current annotate mcrypt/receipt @ rev 12806
Up linapple (2a)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 19 13:00:27 2012 +0200 (2012-05-19) |
parents | c0f1600a3eb6 |
children | 6a0bb22dcc73 |
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" |
erjo@4381 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@4381 | 9 WEB_SITE="http://mcrypt.sourceforge.net/" |
erjo@4381 | 10 WGET_URL="http://downloads.sourceforge.net/project/mcrypt/MCrypt/$VERSION/$TARBALL" |
erjo@4381 | 11 |
erjo@9959 | 12 DEPENDS="zlib mhash libmcrypt" |
erjo@9959 | 13 BUILD_DEPENDS="libmcrypt-dev libmcrypt-dev mhash-dev" |
erjo@9959 | 14 |
erjo@4381 | 15 # Rules to configure and make the package. |
erjo@4381 | 16 compile_rules() |
erjo@4381 | 17 { |
erjo@4381 | 18 cd $src |
erjo@4381 | 19 ./configure \ |
gokhlayeh@11573 | 20 --prefix=/usr $CONFIGURE_ARGS && |
gokhlayeh@11573 | 21 make && |
erjo@9959 | 22 make DESTDIR=$DESTDIR install |
erjo@4381 | 23 } |
erjo@4381 | 24 |
erjo@4381 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4381 | 26 genpkg_rules() |
erjo@4381 | 27 { |
erjo@4381 | 28 mkdir -p $fs/usr |
erjo@4381 | 29 cp -a $_pkg/usr/bin $fs/usr |
erjo@4381 | 30 } |
erjo@4381 | 31 |