wok annotate gnupg/receipt @ rev 20371
gnupg: restore compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 10 12:54:49 2018 +0200 (2018-06-10) |
parents | a8b41e109f74 |
children | e54f35249a89 |
rev | line source |
---|---|
pankso@29 | 1 # SliTaz package receipt. |
pankso@29 | 2 |
pankso@29 | 3 PACKAGE="gnupg" |
erkan@20356 | 4 VERSION="2.2.8" |
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/" |
pankso@29 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19226 | 11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnupg/$TARBALL" |
pankso@29 | 12 |
al@19226 | 13 DEPENDS="bzlib libassuan libcurl libgcrypt libksba libusb-compat ncurses pth \ |
erkan@20357 | 14 readline pinentry gnutls libusb sqlite openldap npth" |
pankso@10437 | 15 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \ |
erkan@20357 | 16 pth-dev curl-dev zlib-dev libusb-compat-dev readline-dev gnutls-dev libusb-dev sqlite-dev openldap-dev npth-dev" |
erjo@9941 | 17 |
pankso@29 | 18 # Rules to configure and make the package. |
pankso@29 | 19 compile_rules() |
pankso@29 | 20 { |
al@19226 | 21 # Integrity check: https://www.gnupg.org/download/integrity_check.html |
erkan@20356 | 22 echo "d87553a125832ea90e8aeb3ceeecf24f88de56fb $SRC/$TARBALL" | sha1sum -c || exit 1 |
al@19226 | 23 |
erkan@20358 | 24 export LDFLAGS="-lrt" |
pascal@20371 | 25 ./configure $CONFIGURE_ARGS && make && make install |
al@19226 | 26 |
al@19226 | 27 find $install/usr/share/man -type f -exec gzip -9 \{\} \; |
pankso@29 | 28 } |
pankso@29 | 29 |
pankso@29 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@29 | 31 genpkg_rules() |
pankso@29 | 32 { |
al@19226 | 33 cp -a $install/* $fs |
al@19226 | 34 rm -r $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/locale |
pankso@29 | 35 } |