wok-next view gnutls/receipt @ rev 1494

Up gnutls (2.4.2w)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 05 13:04:15 2008 +0000 (2008-10-05)
parents a075ff895254
children 52dc4b48ed81
line source
1 # SliTaz package receipt.
3 PACKAGE="gnutls"
4 VERSION="2.4.2"
5 CATEGORY="security"
6 SHORT_DESC="GNU Transport Layer Security Library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libgcrypt libgpg-error"
9 BUILD_DEPENDS="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 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share $fs/usr/lib
29 # Copy all bin and remove devel stuff.
30 cp -a $_pkg/usr/bin $fs/usr
31 rm $fs/usr/bin/libgnutls-*config
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 strip -s $fs/usr/bin/*
35 strip -s $fs/usr/lib/*
36 }