wok annotate gpa/receipt @ rev 9835
gnupg: clean up and fixed BUILD_DEPENDS
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 15 12:57:23 2011 +0000 (2011-05-15) |
parents | 08e79d7c5e4b |
children | 7dc24f1ea8ba |
rev | line source |
---|---|
erjo@1345 | 1 # SliTaz package receipt. |
erjo@1345 | 2 |
erjo@1345 | 3 PACKAGE="gpa" |
gokhlayeh@9185 | 4 VERSION="0.9.0" |
erjo@1345 | 5 CATEGORY="security" |
erjo@1345 | 6 SHORT_DESC="Gnu Privacy Assistant" |
erjo@1345 | 7 MAINTAINER="erjo@slitaz.org" |
gokhlayeh@9191 | 8 DEPENDS="gnupg gpgme libgpg-error gtk+ xorg-libXdamage pinentry-gtk" |
gokhlayeh@9185 | 9 BUILD_DEPENDS="autoconf automake" |
erjo@1345 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1345 | 11 WEB_SITE="http://www.gnupg.org/" |
gokhlayeh@9185 | 12 WGET_URL="http://wald.intevation.org/frs/download.php/603/$TARBALL" |
erjo@1345 | 13 |
erjo@1345 | 14 # Rules to configure and make the package. |
erjo@1345 | 15 compile_rules() |
erjo@1345 | 16 { |
erjo@1345 | 17 cd $src |
gokhlayeh@9185 | 18 patch -p0 < $stuff/gpa-0.9.0-libassuan2.patch && |
gokhlayeh@9185 | 19 autoreconf && |
gokhlayeh@9185 | 20 ./configure && make && make install |
erjo@1345 | 21 } |
erjo@1345 | 22 |
erjo@1345 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1345 | 24 genpkg_rules() |
erjo@1345 | 25 { |
erjo@1345 | 26 mkdir -p $fs/usr/share/locale |
erjo@1345 | 27 |
erjo@1345 | 28 cp -a $_pkg/usr/bin $fs/usr |
erjo@1345 | 29 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@1345 | 30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@1345 | 31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@1345 | 32 |
erjo@1345 | 33 } |
erjo@1345 | 34 |