wok-next annotate libgcrypt/receipt @ rev 11364
imlib: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 09 09:49:28 2011 +0100 (2011-12-09) |
parents | 42c1899be1f3 |
children | 9353d8fea42f |
rev | line source |
---|---|
erjo@180 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="libgcrypt" |
slaxemulator@10988 | 4 VERSION="1.5.0" |
erjo@180 | 5 CATEGORY="security" |
erjo@180 | 6 SHORT_DESC="Cryptographic library based on GnuPG" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@180 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@180 | 9 WEB_SITE="http://www.gnupg.org/" |
erjo@180 | 10 WGET_URL="ftp://ftp.gnupg.org/gcrypt/libgcrypt/$TARBALL" |
pankso@10363 | 11 CROSS="bug" |
pankso@10363 | 12 |
pankso@10363 | 13 DEPENDS="libgpg-error" |
pankso@10363 | 14 BUILD_DEPENDS="libgpg-error-dev" |
erjo@180 | 15 |
erjo@180 | 16 # Rules to configure and make the package. |
erjo@180 | 17 compile_rules() |
erjo@180 | 18 { |
erjo@180 | 19 cd $src |
pankso@10363 | 20 ./configure \ |
pankso@10363 | 21 --build=$HOST_SYSTEM \ |
pankso@10363 | 22 --host=$HOST_SYSTEM && |
pankso@10363 | 23 make && make install |
erjo@180 | 24 } |
erjo@180 | 25 |
erjo@180 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 27 genpkg_rules() |
erjo@180 | 28 { |
erjo@180 | 29 mkdir -p $fs/usr/bin $fs/usr/lib |
erjo@180 | 30 cp -a $_pkg/usr/bin/dumpsexp $fs/usr/bin |
erjo@180 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@180 | 32 } |
erjo@180 | 33 |