wok-current view gnupg/receipt @ rev 24074
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 09:18:48 2021 +0000 (2021-07-08) |
parents | e54f35249a89 |
children | 83b97236db32 |
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # Integrity check: https://www.gnupg.org/download/integrity_check.html
24 echo "e24a1208ffe69d7436b2f27e99542a85f34d0ac0 $SRC/$TARBALL" | sha1sum -c ||
25 exit 1
27 export LDFLAGS="-lrt"
29 ./configure $CONFIGURE_ARGS &&
30 make &&
31 make install
33 # 2.2.19 already gzipped
34 # find $install/usr/share/man -type f -exec gzip -9 \{\} \;
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 rm -r $fs/usr/share/doc $fs/usr/share/info \
42 $fs/usr/share/locale
43 }