wok-6.x annotate gnutls/receipt @ rev 15860
libmowgli: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 30 09:02:32 2014 +0000 (2014-01-30) |
parents | 9532fd8edd29 |
children | 64b542b0abad |
rev | line source |
---|---|
pascal@2502 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="gnutls" |
slaxemulator@11286 | 4 VERSION="2.12.14" |
erjo@180 | 5 CATEGORY="security" |
erjo@180 | 6 SHORT_DESC="GNU Transport Layer Security Library" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
slaxemulator@11292 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@180 | 10 WEB_SITE="http://www.gnu.org/software/gnutls/" |
devl547@11264 | 11 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" |
erjo@180 | 12 |
slaxemulator@11295 | 13 DEPENDS="nettle libgpg-error ncurses readline zlib gcc-lib-base libgnutls \ |
slaxemulator@11295 | 14 libtasn1 p11-kit" |
slaxemulator@11295 | 15 BUILD_DEPENDS="libtasn1-dev ncurses-dev readline-dev p11-kit-dev \ |
pascal@11296 | 16 nettle-dev libgpg-error-dev libgcrypt-dev" |
slaxemulator@11295 | 17 |
erjo@180 | 18 # Rules to configure and make the package. |
erjo@180 | 19 compile_rules() |
erjo@180 | 20 { |
erjo@180 | 21 cd $src |
slaxemulator@10270 | 22 ./configure --with-libgcrypt \ |
jozee@5023 | 23 --disable-guile \ |
slaxemulator@9415 | 24 --with-zlib \ |
jozee@5023 | 25 $CONFIGURE_ARGS && |
slaxemulator@10270 | 26 make && make install |
erjo@180 | 27 } |
erjo@180 | 28 |
erjo@180 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 30 genpkg_rules() |
erjo@180 | 31 { |
erjo@11631 | 32 mkdir -p $fs/usr |
pascal@14999 | 33 cp -a $install/usr/bin $fs/usr |
erjo@180 | 34 } |
erjo@180 | 35 |