wok-6.x annotate gpa/receipt @ rev 11573
Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | b707ff65c39a |
children | 1ed56a857949 |
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" |
erjo@1345 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1345 | 9 WEB_SITE="http://www.gnupg.org/" |
gokhlayeh@9185 | 10 WGET_URL="http://wald.intevation.org/frs/download.php/603/$TARBALL" |
erjo@1345 | 11 |
erjo@9932 | 12 DEPENDS="gnupg gpgme libgpg-error gtk+ xorg-libXdamage pinentry-gtk" |
erjo@9978 | 13 BUILD_DEPENDS="gnupg autoconf automake gpgme-dev libgpg-error-dev libassuan-dev" |
erjo@9932 | 14 |
erjo@1345 | 15 # Rules to configure and make the package. |
erjo@1345 | 16 compile_rules() |
erjo@1345 | 17 { |
erjo@1345 | 18 cd $src |
gokhlayeh@9185 | 19 patch -p0 < $stuff/gpa-0.9.0-libassuan2.patch && |
gokhlayeh@9185 | 20 autoreconf && |
gokhlayeh@11573 | 21 ./configure $CONFIGURE_ARGS && make && make install |
erjo@1345 | 22 } |
erjo@1345 | 23 |
erjo@1345 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1345 | 25 genpkg_rules() |
erjo@1345 | 26 { |
erjo@1345 | 27 mkdir -p $fs/usr/share/locale |
erjo@1345 | 28 |
erjo@1345 | 29 cp -a $_pkg/usr/bin $fs/usr |
erjo@1345 | 30 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@1345 | 31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@1345 | 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@1345 | 33 |
erjo@1345 | 34 } |
erjo@1345 | 35 |