wok-current 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 d091efe0761f
children d265f77ba0e1
files gnutls/receipt libgnutls/receipt
line diff
     1.1 --- a/gnutls/receipt	Tue Mar 02 10:40:07 2010 +0000
     1.2 +++ b/gnutls/receipt	Tue Mar 02 10:42:49 2010 +0000
     1.3 @@ -5,7 +5,7 @@
     1.4  CATEGORY="security"
     1.5  SHORT_DESC="GNU Transport Layer Security Library"
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 -DEPENDS="libgcrypt libgpg-error ncurses readline zlib gcc-lib-base"
     1.8 +DEPENDS="libgcrypt libgpg-error ncurses readline zlib gcc-lib-base libgnutls"
     1.9  BUILD_DEPENDS="libgcrypt libgcrypt-dev libgpg-error-dev"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://www.gnu.org/software/gnutls/"
    1.12 @@ -16,7 +16,9 @@
    1.13  {
    1.14  	cd $src
    1.15  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.16 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.17 +	--mandir=/usr/share/man \
    1.18 +	--disable-guile \
    1.19 +	$CONFIGURE_ARGS &&
    1.20  	make &&
    1.21  	make DESTDIR=$PWD/_pkg install
    1.22  }
    1.23 @@ -27,5 +29,7 @@
    1.24  	mkdir -p $fs/usr/share $fs/usr/lib
    1.25  	cp -a $_pkg/usr/bin $fs/usr
    1.26  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.27 +	# split libgnutls
    1.28 +	rm -f $fs/usr/lib/libgnutls.so.*
    1.29  }
    1.30  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libgnutls/receipt	Tue Mar 02 10:42:49 2010 +0000
     2.3 @@ -0,0 +1,18 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libgnutls"
     2.7 +VERSION="2.8.3"
     2.8 +CATEGORY="security"
     2.9 +SHORT_DESC="GNU Transport Layer Security Library headers"
    2.10 +MAINTAINER="erjo@slitaz.org"
    2.11 +BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev"
    2.12 +WANTED="gnutls"
    2.13 +WEB_SITE="http://www.gnu.org/software/gnutls/"
    2.14 +
    2.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.16 +genpkg_rules()
    2.17 +{
    2.18 +	mkdir -p $fs/usr/lib
    2.19 +	cp -a $_pkg/usr/lib/libgnutls.so* $fs/usr/lib
    2.20 +}
    2.21 +