wok-6.x annotate gnutls/receipt @ rev 6876
Up: gnutls to 2.10.2. I hope this doesn't break anything.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 20 22:39:45 2010 +0000 (2010-10-20) |
parents | 9bcb6ea89636 |
children | b4be26e8b7d8 |
rev | line source |
---|---|
pascal@2502 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="gnutls" |
slaxemulator@6876 | 4 VERSION="2.10.2" |
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 \ |
pascal@5029 | 9 libtasn1 guile" |
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 \ |
jozee@5023 | 22 $CONFIGURE_ARGS && |
pascal@1494 | 23 make && |
erjo@180 | 24 make DESTDIR=$PWD/_pkg install |
erjo@180 | 25 } |
erjo@180 | 26 |
erjo@180 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 28 genpkg_rules() |
erjo@180 | 29 { |
erjo@180 | 30 mkdir -p $fs/usr/share $fs/usr/lib |
erjo@180 | 31 cp -a $_pkg/usr/bin $fs/usr |
erjo@180 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@5023 | 33 # split libgnutls |
jozee@5023 | 34 rm -f $fs/usr/lib/libgnutls.so.* |
erjo@180 | 35 } |
erjo@180 | 36 |