wok view gnutls/receipt @ rev 3930

Update: binutils (toolprefixed binaries with default binutil symlinks; needed for builds expecting toolprefixed binutil binaries when a target platform [e.g. i486-pc-linux-gnu] is specified)
author Matthew Sheets <rcx@zoominternet.net>
date Wed Aug 19 16:02:07 2009 +0000 (2009-08-19)
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 }