wok-next diff gpa/receipt @ rev 20700
Up: babl (0.1.50), gegl (0.4.2), gimp (2.10.2), glib (2.54.3), iso-codes (3.79), lensfun (0.3.2); add: gexiv2, libde265, libheif, libmypaint, mypaint-brushes.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 24 23:51:14 2018 +0300 (2018-05-24) |
parents | ac006a7bf27c |
children | 7bf02e95fe42 |
line diff
1.1 --- a/gpa/receipt Thu Jun 23 01:40:19 2016 +0300 1.2 +++ b/gpa/receipt Thu May 24 23:51:14 2018 +0300 1.3 @@ -1,33 +1,38 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="gpa" 1.8 VERSION="0.9.9" 1.9 CATEGORY="security" 1.10 -SHORT_DESC="Gnu Privacy Assistant" 1.11 +SHORT_DESC="GNU Privacy Assistant" 1.12 MAINTAINER="erjo@slitaz.org" 1.13 LICENSE="GPL3" 1.14 WEB_SITE="https://www.gnupg.org/related_software/gpa/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpa/$TARBALL" 1.18 +# Integrity check: https://www.gnupg.org/download/integrity_check.html 1.19 +TARBALL_SHA1="1cf86c9e38aa553fdb880c55cbc6755901ad21a4" 1.20 1.21 -DEPENDS="gpgme gtk+ pinentry-gtk" 1.22 BUILD_DEPENDS="gtk+-dev libgpg-error-dev libassuan-dev gpgme-dev" 1.23 SPLIT="gpa-langpack" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - # Integrity check: https://www.gnupg.org/download/integrity_check.html 1.29 - echo "1cf86c9e38aa553fdb880c55cbc6755901ad21a4 $SRC/$TARBALL" | sha1sum -c || exit 1 1.30 - 1.31 - ./configure $CONFIGURE_ARGS && make && make install 1.32 +compile_rules() { 1.33 + ./configure $CONFIGURE_ARGS && make && make install || return 1 1.34 1.35 find $install/usr/share/man -type f -exec gzip -9 \{\} \; 1.36 } 1.37 1.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 -genpkg_rules() 1.40 -{ 1.41 - cp -a $install/* $fs 1.42 - rm -r $fs/usr/share/locale 1.43 +genpkg_rules() { 1.44 + case $PACKAGE in 1.45 + gpa) 1.46 + cp -a $install/* $fs 1.47 + rm -r $fs/usr/share/locale 1.48 + DEPENDS="gpgme gtk+ pinentry-gtk" 1.49 + ;; 1.50 + gpa-langpack) 1.51 + mkdir -p $fs/usr/share 1.52 + cp -a $install/usr/share/locale $fs/usr/share 1.53 + CAT="localization|locale files" 1.54 + ;; 1.55 + esac 1.56 }