wok-current view gnupg/receipt @ rev 25707
Fix miss file need for grub2-efi install (kernel.img, modinfo.sh)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu May 30 20:14:23 2024 +0000 (5 months ago) |
parents | 83b97236db32 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.2.36"
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 "01e2f80d6579a3b3dc25547ad13632bf87dbc757 $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 }