wok-stable annotate gpa/receipt @ rev 6975
Fixed linux-source. Instead of auto downloading kernel source in post_install i added that code into a script called get-linux-source. All patches are also in /usr/src/kernel-patches now.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 28 04:58:29 2010 +0000 (2010-10-28) |
parents | 3f898e9b90bd |
children | 08e79d7c5e4b |
rev | line source |
---|---|
erjo@1345 | 1 # SliTaz package receipt. |
erjo@1345 | 2 |
erjo@1345 | 3 PACKAGE="gpa" |
erjo@1345 | 4 VERSION="0.7.5" |
erjo@1345 | 5 CATEGORY="security" |
erjo@1345 | 6 SHORT_DESC="Gnu Privacy Assistant" |
erjo@1345 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2516 | 8 DEPENDS="gnupg gpgme libgpg-error gtk+ xorg-libXdamage" |
pascal@1516 | 9 BUILD_DEPENDS="gpgme-dev libgpg-error-dev gnupg" |
erjo@1345 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1345 | 11 WEB_SITE="http://www.gnupg.org/" |
erjo@1345 | 12 WGET_URL="ftp://ftp.gnupg.org/gcrypt/alpha/gpa/$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 |
erjo@1345 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@1345 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
erjo@1345 | 20 make && |
erjo@1345 | 21 make DESTDIR=$PWD/_pkg 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 |