wok annotate libgcrypt/receipt @ rev 14084
Up: emacs-lisp-sources (24.2)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Feb 22 20:44:22 2013 +0100 (2013-02-22) |
parents | 79fdce841805 |
children | 1ae5963f23df |
rev | line source |
---|---|
erjo@180 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="libgcrypt" |
mojo@12166 | 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 |