wok-next annotate libgcrypt/receipt @ rev 12453

qt4: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 21 20:26:01 2012 +0200 (2012-04-21)
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