wok-current view libgcrypt/receipt @ rev 15315
tilda: include glib.h only
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 16:51:47 2013 +0000 (2013-09-27) |
parents | 9353d8fea42f |
children | dd79d89b45c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgcrypt"
4 VERSION="1.4.6"
5 CATEGORY="security"
6 SHORT_DESC="Cryptographic library based on GnuPG"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnupg.org/"
10 WGET_URL="ftp://ftp.gnupg.org/gcrypt/libgcrypt/$TARBALL"
11 CROSS="bug"
13 DEPENDS="libgpg-error"
14 BUILD_DEPENDS="libgpg-error-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lgpg-error"
21 ./configure \
22 --build=$HOST_SYSTEM \
23 --host=$HOST_SYSTEM &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/lib
31 cp -a $_pkg/usr/bin/dumpsexp $fs/usr/bin
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }