wok view gnutls/receipt @ rev 3846
Up: gnutls (2.8.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Aug 07 13:42:39 2009 +0200 (2009-08-07) |
parents | 3d47ed8d27d6 |
children | de51af17bfe3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnutls"
4 VERSION="2.8.1"
5 CATEGORY="security"
6 SHORT_DESC="GNU Transport Layer Security Library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libgcrypt libgpg-error ncurses readline zlib"
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 $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 }