wok-current annotate beecrypt/receipt @ rev 10695
merge
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 22:53:32 2011 +0200 (2011-05-27) |
parents | 395ec8205cff |
children | 8d6f480bf664 |
rev | line source |
---|---|
erjo@1433 | 1 # SliTaz package receipt. |
erjo@1433 | 2 |
erjo@1433 | 3 PACKAGE="beecrypt" |
slaxemulator@6518 | 4 VERSION="4.2.1" |
erjo@1433 | 5 CATEGORY="system-tools" |
erjo@1433 | 6 SHORT_DESC="Cryptography Library" |
erjo@1433 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@4998 | 8 DEPENDS="gcc-lib-base" |
erjo@1433 | 9 BUILD_DEPENDS="python-dev" |
erjo@1433 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1433 | 11 WEB_SITE="http://beecrypt.sourceforge.net/" |
pascal@1516 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@3567 | 13 TAGS="cryptography toolkit" |
erjo@1433 | 14 |
erjo@1433 | 15 # Rules to configure and make the package. |
erjo@1433 | 16 compile_rules() |
erjo@1433 | 17 { |
erjo@1433 | 18 cd $src |
pascal@1519 | 19 ./configure --prefix=/usr --without-cplusplus $CONFIGURE_ARGS && |
pascal@1516 | 20 make && |
erjo@1433 | 21 make DESTDIR=$PWD/_pkg install |
erjo@1433 | 22 } |
erjo@1433 | 23 |
erjo@1433 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1433 | 25 genpkg_rules() |
erjo@1433 | 26 { |
erjo@1433 | 27 mkdir -p $fs/usr/lib |
erjo@1433 | 28 cp -a $_pkg/usr/lib $fs/usr |
erjo@1433 | 29 # Deleting unnecessary file |
erjo@1433 | 30 find $fs/ -name "*.*a" -exec rm -f {} \; |
erjo@1433 | 31 } |
erjo@1433 | 32 |