wok-next view libgcrypt/receipt @ rev 12777
Up: cookutils (2.0) Mostly handle multi arch, new cross (beta, not yet packages)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 13 15:58:57 2012 +0200 (2012-05-13) |
parents | 79fdce841805 |
children | 1ae5963f23df |
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 ./configure \
21 --build=$HOST_SYSTEM \
22 --host=$HOST_SYSTEM &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/lib
30 cp -a $_pkg/usr/bin/dumpsexp $fs/usr/bin
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }