wok annotate gnutls/receipt @ rev 10667
curl: change openssl dep. to libssl
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri May 27 09:55:17 2011 +0200 (2011-05-27) |
parents | 5069ef6a621a |
children | ecabd74de6df |
rev | line source |
---|---|
pascal@2502 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="gnutls" |
slaxemulator@10270 | 4 VERSION="2.12.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 |
slaxemulator@10270 | 19 ./configure --with-libgcrypt \ |
jozee@5023 | 20 --disable-guile \ |
slaxemulator@9415 | 21 --with-zlib \ |
jozee@5023 | 22 $CONFIGURE_ARGS && |
slaxemulator@10270 | 23 make && make install |
erjo@180 | 24 } |
erjo@180 | 25 |
erjo@180 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 27 genpkg_rules() |
erjo@180 | 28 { |
erjo@180 | 29 mkdir -p $fs/usr/share $fs/usr/lib |
erjo@180 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@180 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@5023 | 32 # split libgnutls |
jozee@5023 | 33 rm -f $fs/usr/lib/libgnutls.so.* |
erjo@180 | 34 } |
erjo@180 | 35 |