wok-6.x view gnutls/receipt @ rev 5023
split gnutls; add libgnutls; reduce overall size for ssl
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Mar 02 10:42:49 2010 +0000 (2010-03-02) |
parents | 9f19aee613be |
children | 116602ef2d27 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnutls"
4 VERSION="2.8.3"
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 BUILD_DEPENDS="libgcrypt libgcrypt-dev libgpg-error-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnu.org/software/gnutls/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$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 \
20 --disable-guile \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg 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 }