wok-next annotate gpa/receipt @ rev 20784
update also: gpgme, libgpg-error and gpa
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 06:52:39 2018 +0000 (2018-06-09) |
parents | 4396aed7eb01 |
children | 9f225907b3c8 |
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" |
erjo@1345 | 7 MAINTAINER="erjo@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@20464 | 13 # Integrity check: https://www.gnupg.org/download/integrity_check.html |
erkan@20784 | 14 TARBALL_SHA1="c629348725c1bf5dafd57f8a70187dc89815ce60" |
erjo@1345 | 15 |
al@19226 | 16 BUILD_DEPENDS="gtk+-dev libgpg-error-dev libassuan-dev gpgme-dev" |
al@19226 | 17 SPLIT="gpa-langpack" |
erjo@9932 | 18 |
al@20464 | 19 compile_rules() { |
al@20464 | 20 ./configure $CONFIGURE_ARGS && make && make install || return 1 |
al@19226 | 21 |
al@19226 | 22 find $install/usr/share/man -type f -exec gzip -9 \{\} \; |
erjo@1345 | 23 } |
erjo@1345 | 24 |
al@20464 | 25 genpkg_rules() { |
al@20464 | 26 case $PACKAGE in |
al@20464 | 27 gpa) |
al@20464 | 28 cp -a $install/* $fs |
al@20464 | 29 rm -r $fs/usr/share/locale |
al@20464 | 30 DEPENDS="gpgme gtk+ pinentry-gtk" |
al@20464 | 31 ;; |
al@20464 | 32 gpa-langpack) |
al@20464 | 33 mkdir -p $fs/usr/share |
al@20464 | 34 cp -a $install/usr/share/locale $fs/usr/share |
al@20464 | 35 CAT="localization|locale files" |
al@20464 | 36 ;; |
al@20464 | 37 esac |
erjo@1345 | 38 } |