wok view gpa/receipt @ rev 25035

Up libqcow (20210419)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 20 18:11:13 2022 +0000 (2022-05-20)
parents 9720efce20e7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gpa"
4 VERSION="0.10.0"
5 CATEGORY="security"
6 SHORT_DESC="Gnu Privacy Assistant."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnupg.org/related_software/gpa/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpa/$TARBALL"
14 DEPENDS="gpgme gtk+ pinentry-gtk"
15 BUILD_DEPENDS="gpgme-dev gtk+-dev libassuan-dev libgpg-error-dev"
16 SPLIT="gpa-langpack"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Integrity check: https://www.gnupg.org/download/integrity_check.html
29 echo "61475989acd12de8b7daacd906200e8b4f519c5a $SRC/$TARBALL" | sha1sum -c || exit 1
31 ./configure $CONFIGURE_ARGS &&
32 make &&
33 make install
35 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs
42 rm -r $fs/usr/share/locale
43 }