wok annotate beecrypt/receipt @ rev 15949
compton: avoid source tarball collisions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 12:17:31 2014 +0000 (2014-02-23) |
parents | 0169e132cc40 |
children | 5f6c5106b1f5 |
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@15482 | 8 LICENSE="GPL2 LGPL2.1" |
erjo@1433 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1433 | 10 WEB_SITE="http://beecrypt.sourceforge.net/" |
pascal@1516 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@3567 | 12 TAGS="cryptography toolkit" |
erjo@1433 | 13 |
pascal@15482 | 14 DEPENDS="gcc-lib-base" |
pascal@15482 | 15 BUILD_DEPENDS="python-dev" |
pascal@15482 | 16 |
erjo@1433 | 17 # Rules to configure and make the package. |
erjo@1433 | 18 compile_rules() |
erjo@1433 | 19 { |
erjo@1433 | 20 cd $src |
pascal@1519 | 21 ./configure --prefix=/usr --without-cplusplus $CONFIGURE_ARGS && |
pascal@1516 | 22 make && |
pascal@15482 | 23 make DESTDIR=$DESTDIR install |
erjo@1433 | 24 } |
erjo@1433 | 25 |
erjo@1433 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1433 | 27 genpkg_rules() |
erjo@1433 | 28 { |
erjo@1433 | 29 mkdir -p $fs/usr/lib |
pascal@15482 | 30 cp -a $install/usr/lib $fs/usr |
erjo@1433 | 31 # Deleting unnecessary file |
erjo@1433 | 32 find $fs/ -name "*.*a" -exec rm -f {} \; |
erjo@1433 | 33 } |
erjo@1433 | 34 |