wok-6.x view gnupg/receipt @ rev 21342
cherokee fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 20 15:26:18 2019 +0200 (2019-04-20) |
parents | 19418082a846 |
children | 5f8ba8c434fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.2.8"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnupg/$TARBALL"
13 DEPENDS="bzlib libassuan libcurl libgcrypt libksba libusb-compat ncurses pth \
14 readline pinentry gnutls libusb sqlite openldap npth"
15 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
16 pth-dev curl-dev zlib-dev libusb-compat-dev readline-dev gnutls-dev \
17 libgnutls libusb-dev sqlite-dev openldap-dev npth-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Integrity check: https://www.gnupg.org/download/integrity_check.html
23 echo "d87553a125832ea90e8aeb3ceeecf24f88de56fb $SRC/$TARBALL" | sha1sum -c || exit 1
25 export LDFLAGS="-lrt"
26 ./configure $CONFIGURE_ARGS && make && make install
28 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 rm -r $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/locale
36 }