wok annotate gpgme/receipt @ rev 9197
spidermonkey: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 10 11:24:48 2011 +0100 (2011-03-10) |
parents | b084f9ed4a92 |
children | 4b028f6a84ef |
rev | line source |
---|---|
erjo@1420 | 1 # SliTaz package receipt. |
erjo@1420 | 2 |
erjo@1420 | 3 PACKAGE="gpgme" |
slaxemulator@6329 | 4 VERSION="1.3.0" |
erjo@1420 | 5 CATEGORY="security" |
erjo@1420 | 6 SHORT_DESC="C language library that allows to add support for cryptography to a program." |
erjo@1420 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@6774 | 8 DEPENDS="libgpg-error pth gnupg" |
slaxemulator@6774 | 9 BUILD_DEPENDS="libgpg-error-dev pth-dev gnupg" |
erjo@1420 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1420 | 11 WEB_SITE="http://www.gnupg.org/gpgme.html" |
erjo@1420 | 12 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gpgme/$TARBALL" |
erjo@1420 | 13 |
erjo@1420 | 14 # Rules to configure and make the package. |
erjo@1420 | 15 compile_rules() |
erjo@1420 | 16 { |
erjo@1420 | 17 cd $src |
erjo@1420 | 18 ./configure --prefix=/usr \ |
erjo@1420 | 19 --infodir=/usr/share/info \ |
erjo@1420 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
erjo@1420 | 21 make && |
erjo@1420 | 22 make DESTDIR=$PWD/_pkg install |
erjo@1420 | 23 } |
erjo@1420 | 24 |
erjo@1420 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1420 | 26 genpkg_rules() |
erjo@1420 | 27 { |
erjo@1420 | 28 mkdir -p $fs/usr/lib |
erjo@1420 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1420 | 30 } |
erjo@1420 | 31 |