wok-6.x annotate libgcrypt/receipt @ rev 15110

Add some LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 18:02:00 2013 +0000 (2013-08-14)
parents 9353d8fea42f
children dd79d89b45c1
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
pascal@15110 20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lgpg-error"
pankso@10363 21 ./configure \
pankso@10363 22 --build=$HOST_SYSTEM \
pankso@10363 23 --host=$HOST_SYSTEM &&
pankso@10363 24 make && make install
erjo@180 25 }
erjo@180 26
erjo@180 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 28 genpkg_rules()
erjo@180 29 {
erjo@180 30 mkdir -p $fs/usr/bin $fs/usr/lib
erjo@180 31 cp -a $_pkg/usr/bin/dumpsexp $fs/usr/bin
erjo@180 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@180 33 }
erjo@180 34