wok-next view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gpa"
4 VERSION="0.9.0"
5 CATEGORY="security"
6 SHORT_DESC="Gnu Privacy Assistant"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnupg.org/"
10 WGET_URL="http://wald.intevation.org/frs/download.php/603/$TARBALL"
12 DEPENDS="gnupg gpgme libgpg-error gtk+ xorg-libXdamage pinentry-gtk"
13 BUILD_DEPENDS="gnupg autoconf automake gpgme-dev libgpg-error-dev libassuan-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -p0 < $stuff/gpa-0.9.0-libassuan2.patch &&
20 autoreconf &&
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/applications $fs/usr/share
31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 }