wok-next view gnutls/receipt @ rev 2095

Up: wormux (0.8.2)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 28 19:06:09 2009 +0100 (2009-01-28)
parents ea026380981e
children dbf873bf74a8
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 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 }