wok-stable view libgcrypt/receipt @ rev 683
Up: slitaz-hacker (1.4) - Lua template, cgi test and more dir
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 25 12:40:49 2008 +0200 (2008-04-25) |
parents | |
children | a075ff895254 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgcrypt"
4 VERSION="1.4.0"
5 CATEGORY="security"
6 SHORT_DESC="Cryptographic library based on GnuPG"
7 MAINTAINER="Erjo <erjo@slitaz.org>"
8 DEPENDS="libgpg-error"
9 BUILD_DEPENDS="libgpg-error-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnupg.org/"
12 WGET_URL="ftp://ftp.gnupg.org/gcrypt/libgcrypt/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/lib
28 cp -a $_pkg/usr/bin/dumpsexp $fs/usr/bin
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 strip -s $fs/usr/bin/*
31 strip -s $fs/usr/lib/*
32 }