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