wok-current annotate libgcrypt/receipt @ rev 15761

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