wok view gnutls/receipt @ rev 10445
ario: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 25 03:14:19 2011 +0200 (2011-05-25) |
parents | 5069ef6a621a |
children | ecabd74de6df |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnutls"
4 VERSION="2.12.5"
5 CATEGORY="security"
6 SHORT_DESC="GNU Transport Layer Security Library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libgcrypt libgpg-error ncurses readline zlib gcc-lib-base libgnutls \
9 libtasn1"
10 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.gnu.org/software/gnutls/"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --with-libgcrypt \
20 --disable-guile \
21 --with-zlib \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 # split libgnutls
33 rm -f $fs/usr/lib/libgnutls.so.*
34 }