wok annotate gnutls/receipt @ rev 5717
gtkdatabox: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 24 12:15:42 2010 +0200 (2010-06-24) |
parents | 116602ef2d27 |
children | 4fe0f05d8aef |
rev | line source |
---|---|
pascal@2502 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="gnutls" |
slaxemulator@5439 | 4 VERSION="2.8.6" |
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" |
pascal@1514 | 10 BUILD_DEPENDS="libgcrypt 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 |