wok-6.x annotate gnutls/receipt @ rev 9906
ardour: Fix BD
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue May 17 15:15:04 2011 +0200 (2011-05-17) |
parents | e56d938302eb |
children | 5bbaef7b118d |
rev | line source |
---|---|
pascal@2502 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="gnutls" |
slaxemulator@9437 | 4 VERSION="2.10.5" |
erjo@180 | 5 CATEGORY="security" |
erjo@180 | 6 SHORT_DESC="GNU Transport Layer Security Library" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@5029 | 8 DEPENDS="libgcrypt libgpg-error ncurses readline zlib gcc-lib-base libgnutls \ |
erjo@8735 | 9 libtasn1" |
slaxemulator@6876 | 10 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev" |
erjo@180 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@180 | 12 WEB_SITE="http://www.gnu.org/software/gnutls/" |
pascal@1494 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
erjo@180 | 14 |
erjo@180 | 15 # Rules to configure and make the package. |
erjo@180 | 16 compile_rules() |
erjo@180 | 17 { |
erjo@180 | 18 cd $src |
erjo@180 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
jozee@5023 | 20 --mandir=/usr/share/man \ |
jozee@5023 | 21 --disable-guile \ |
slaxemulator@9415 | 22 --with-zlib \ |
jozee@5023 | 23 $CONFIGURE_ARGS && |
pascal@1494 | 24 make && |
erjo@180 | 25 make DESTDIR=$PWD/_pkg install |
erjo@180 | 26 } |
erjo@180 | 27 |
erjo@180 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 29 genpkg_rules() |
erjo@180 | 30 { |
erjo@180 | 31 mkdir -p $fs/usr/share $fs/usr/lib |
erjo@180 | 32 cp -a $_pkg/usr/bin $fs/usr |
erjo@180 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@5023 | 34 # split libgnutls |
jozee@5023 | 35 rm -f $fs/usr/lib/libgnutls.so.* |
erjo@180 | 36 } |
erjo@180 | 37 |