wok-next annotate gpa/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | f48456621a9d |
children | 33293021c26d |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
erjo@1345 | 2 |
erjo@1345 | 3 PACKAGE="gpa" |
erkan@20784 | 4 VERSION="0.9.10" |
erjo@1345 | 5 CATEGORY="security" |
al@20464 | 6 SHORT_DESC="GNU Privacy Assistant" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15331 | 8 LICENSE="GPL3" |
al@19226 | 9 WEB_SITE="https://www.gnupg.org/related_software/gpa/" |
al@20464 | 10 |
erjo@1345 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19226 | 12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpa/$TARBALL" |
al@20794 | 13 # Integrity check: https://www.gnupg.org/download/integrity_check.html |
erkan@20784 | 14 TARBALL_SHA1="c629348725c1bf5dafd57f8a70187dc89815ce60" |
erjo@1345 | 15 |
al@21017 | 16 BUILD_DEPENDS="gtk2-dev libgpg-error-dev libassuan-dev gpgme-dev" |
al@21020 | 17 SPLIT="$PACKAGE-langpack" |
erjo@9932 | 18 |
al@20464 | 19 compile_rules() { |
al@20794 | 20 ./configure $CONFIGURE_ARGS && |
al@20794 | 21 make && |
al@20794 | 22 make install |
erjo@1345 | 23 } |
erjo@1345 | 24 |
al@20464 | 25 genpkg_rules() { |
al@20464 | 26 case $PACKAGE in |
al@20464 | 27 gpa) |
al@20794 | 28 copy @std |
al@21017 | 29 DEPENDS="gdk-pixbuf glib gpgme gtk2 libassuan libgpg-error zlib \ |
al@20794 | 30 pinentry-gtk" |
al@20464 | 31 ;; |
al@20464 | 32 gpa-langpack) |
al@20794 | 33 copy *.mo |
al@20464 | 34 CAT="localization|locale files" |
al@20464 | 35 ;; |
al@20464 | 36 esac |
erjo@1345 | 37 } |