wok view gnutls/receipt @ rev 371
slitaz-loram*: add post-install message
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 08 11:57:03 2008 +0000 (2008-03-08) |
parents | |
children | a075ff895254 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnutls"
4 VERSION="2.3.0"
5 CATEGORY="security"
6 SHORT_DESC="GNU Transport Layer Security Library"
7 MAINTAINER="Erjo <erjo@slitaz.com>"
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="http://www.gnu.org/software/gnutls/releases/$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 }