wok view gnupg/receipt @ rev 25734

updated sc-im (-> 0.8.4)
author Hans-G?nter Theisgen
date Thu Aug 22 14:48:42 2024 +0100 (2 months ago)
parents 5f8ba8c434fa
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.2.19"
5 CATEGORY="security"
6 SHORT_DESC="Free implementation of the OpenPGP."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnupg.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}ftp/gcrypt/gnupg/$TARBALL"
14 DEPENDS="bzlib gnutls libassuan libcurl libgcrypt libksba libusb
15 libusb-compat ncurses npth openldap pinentry pth readline sqlite"
16 BUILD_DEPENDS="curl-dev gnutls-dev libassuan-dev libgcrypt-dev libgnutls
17 libgpg-error-dev libksba-dev libusb-compat-dev libusb-dev
18 npth-dev openldap-dev pth-dev readline-dev sqlite-dev zlib-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # Integrity check: https://www.gnupg.org/download/integrity_check.html
31 echo "e24a1208ffe69d7436b2f27e99542a85f34d0ac0 $SRC/$TARBALL" | sha1sum -c ||
32 exit 1
34 export LDFLAGS="-lrt"
36 ./configure $CONFIGURE_ARGS &&
37 make &&
38 make install
40 # 2.2.19 already gzipped
41 # find $install/usr/share/man -type f -exec gzip -9 \{\} \;
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cp -a $install/* $fs
48 rm -r $fs/usr/share/doc $fs/usr/share/info \
49 $fs/usr/share/locale
50 }