wok view gnutls/receipt @ rev 9415

Up: gnutls to 2.12.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 29 19:43:39 2011 +0000 (2011-03-29)
parents ff4be672597e
children 5069ef6a621a
line source
1 # SliTaz package receipt.
3 PACKAGE="gnutls"
4 VERSION="2.12.0"
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 --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 --disable-guile \
22 --with-zlib \
23 --with-libgcrypt \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 # split libgnutls
36 rm -f $fs/usr/lib/libgnutls.so.*
37 }