wok annotate libgcrypt/receipt @ rev 10363
libgcrypt: can't cross (use default)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 02:02:36 2011 +0200 (2011-05-23) |
parents | 0f8dcbf8807b |
children | 79fdce841805 |
rev | line source |
---|---|
erjo@180 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="libgcrypt" |
slaxemulator@6205 | 4 VERSION="1.4.6" |
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 |