wok view gnutls/receipt @ rev 9265
eduke32: get sources from mirror.slitaz.org
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 14:39:29 2011 +0100 (2011-03-15) |
parents | 86b41852d66c |
children | e56d938302eb |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnutls"
4 VERSION="2.10.4"
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 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 # split libgnutls
34 rm -f $fs/usr/lib/libgnutls.so.*
35 }