wok-next annotate gnutls/receipt @ rev 3157
Up: lemon (3.6.14.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 24 18:36:30 2009 +0200 (2009-05-24) |
parents | 2f58bce76759 |
children | facff000777b |
rev | line source |
---|---|
pascal@2502 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="gnutls" |
erjo@2941 | 4 VERSION="2.6.6" |
erjo@180 | 5 CATEGORY="security" |
erjo@180 | 6 SHORT_DESC="GNU Transport Layer Security Library" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2484 | 8 DEPENDS="libgcrypt libgpg-error ncurses readline zlib" |
pascal@1514 | 9 BUILD_DEPENDS="libgcrypt libgcrypt-dev libgpg-error-dev" |
erjo@180 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@180 | 11 WEB_SITE="http://www.gnu.org/software/gnutls/" |
pascal@1494 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
erjo@180 | 13 |
erjo@180 | 14 # Rules to configure and make the package. |
erjo@180 | 15 compile_rules() |
erjo@180 | 16 { |
erjo@180 | 17 cd $src |
erjo@180 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1494 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1494 | 20 make && |
erjo@180 | 21 make DESTDIR=$PWD/_pkg install |
erjo@180 | 22 } |
erjo@180 | 23 |
erjo@180 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 25 genpkg_rules() |
erjo@180 | 26 { |
erjo@180 | 27 mkdir -p $fs/usr/share $fs/usr/lib |
erjo@180 | 28 |
erjo@180 | 29 # Copy all bin and remove devel stuff. |
erjo@180 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@180 | 31 rm $fs/usr/bin/libgnutls-*config |
erjo@180 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@180 | 33 |
erjo@180 | 34 strip -s $fs/usr/bin/* |
erjo@180 | 35 strip -s $fs/usr/lib/* |
erjo@180 | 36 } |
erjo@180 | 37 |