wok annotate gnupg/receipt @ rev 24299
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 15:21:40 2022 +0000 (2022-01-15) |
parents | e54f35249a89 |
children | 83b97236db32 |
rev | line source |
---|---|
pankso@29 | 1 # SliTaz package receipt. |
pankso@29 | 2 |
pankso@29 | 3 PACKAGE="gnupg" |
Hans-G?nter@22863 | 4 VERSION="2.2.19" |
pankso@209 | 5 CATEGORY="security" |
pankso@29 | 6 SHORT_DESC="Free implementation of the OpenPGP." |
pankso@29 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@19226 | 9 WEB_SITE="https://www.gnupg.org/" |
Hans-G?nter@22863 | 10 |
pankso@29 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22863 | 12 WGET_URL="${WEB_SITE}ftp/gcrypt/gnupg/$TARBALL" |
pankso@29 | 13 |
Hans-G?nter@22863 | 14 DEPENDS="bzlib gnutls libassuan libcurl libgcrypt libksba libusb |
Hans-G?nter@22863 | 15 libusb-compat ncurses npth openldap pinentry pth readline sqlite" |
Hans-G?nter@22863 | 16 BUILD_DEPENDS="curl-dev gnutls-dev libassuan-dev libgcrypt-dev libgnutls |
Hans-G?nter@22863 | 17 libgpg-error-dev libksba-dev libusb-compat-dev libusb-dev |
Hans-G?nter@22863 | 18 npth-dev openldap-dev pth-dev readline-dev sqlite-dev zlib-dev" |
erjo@9941 | 19 |
pankso@29 | 20 # Rules to configure and make the package. |
pankso@29 | 21 compile_rules() |
pankso@29 | 22 { |
al@19226 | 23 # Integrity check: https://www.gnupg.org/download/integrity_check.html |
Hans-G?nter@22863 | 24 echo "e24a1208ffe69d7436b2f27e99542a85f34d0ac0 $SRC/$TARBALL" | sha1sum -c || |
Hans-G?nter@22863 | 25 exit 1 |
al@19226 | 26 |
Hans-G?nter@22863 | 27 export LDFLAGS="-lrt" |
al@19226 | 28 |
Hans-G?nter@22863 | 29 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@22863 | 30 make && |
Hans-G?nter@22863 | 31 make install |
Hans-G?nter@22863 | 32 |
Hans-G?nter@22863 | 33 # 2.2.19 already gzipped |
Hans-G?nter@22863 | 34 # find $install/usr/share/man -type f -exec gzip -9 \{\} \; |
pankso@29 | 35 } |
pankso@29 | 36 |
pankso@29 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@29 | 38 genpkg_rules() |
pankso@29 | 39 { |
Hans-G?nter@22863 | 40 cp -a $install/* $fs |
Hans-G?nter@22863 | 41 rm -r $fs/usr/share/doc $fs/usr/share/info \ |
Hans-G?nter@22863 | 42 $fs/usr/share/locale |
pankso@29 | 43 } |