wok-current annotate gnutls/receipt @ rev 8868
Fix: gtkdatabox compile_rules()
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 26 06:03:58 2011 +0100 (2011-02-26) |
parents | 86b41852d66c |
children | e56d938302eb |
rev | line source |
---|---|
pascal@2502 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="gnutls" |
slaxemulator@7538 | 4 VERSION="2.10.4" |
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 \ |
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 |