wok-stable diff gnutls/receipt @ rev 260
Add testdisk (data recovery tool)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 24 20:42:02 2008 +0100 (2008-02-24) |
parents | |
children | a075ff895254 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnutls/receipt Sun Feb 24 20:42:02 2008 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gnutls" 1.7 +VERSION="2.3.0" 1.8 +CATEGORY="security" 1.9 +SHORT_DESC="GNU Transport Layer Security Library" 1.10 +MAINTAINER="Erjo <erjo@slitaz.com>" 1.11 +DEPENDS="libgcrypt libgpg-error" 1.12 +BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://www.gnu.org/software/gnutls/" 1.15 +WGET_URL="http://www.gnu.org/software/gnutls/releases/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.22 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.23 + make 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/share $fs/usr/lib 1.31 + 1.32 + # Copy all bin and remove devel stuff. 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + rm $fs/usr/bin/libgnutls-*config 1.35 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.36 + 1.37 + strip -s $fs/usr/bin/* 1.38 + strip -s $fs/usr/lib/* 1.39 +} 1.40 +