wok-next annotate gnupg/receipt @ rev 20855
svgcleaner: up (0.9.5); add oxipng
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 26 15:41:27 2018 +0300 (2018-06-26) |
parents | 4bd371565506 |
children | 241675069a75 |
rev | line source |
---|---|
al@20794 | 1 # SliTaz package receipt v2. |
pankso@29 | 2 |
pankso@29 | 3 PACKAGE="gnupg" |
erkan@20780 | 4 VERSION="2.2.8" |
pankso@209 | 5 CATEGORY="security" |
al@19768 | 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/" |
al@20794 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/gnupg.html" |
al@19768 | 11 |
pankso@29 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19226 | 13 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnupg/$TARBALL" |
al@20794 | 14 # https://www.gnupg.org/download/integrity_check.html |
erkan@20781 | 15 TARBALL_SHA1="d87553a125832ea90e8aeb3ceeecf24f88de56fb" |
pankso@29 | 16 |
pankso@10437 | 17 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \ |
al@20794 | 18 npth-dev perl libusb-dev sqlite3-dev gettext zlib-dev bzip2-dev readline-dev \ |
al@20794 | 19 texinfo gnutls-dev openldap-dev" |
erjo@9941 | 20 |
al@20794 | 21 compile_rules() { |
al@19768 | 22 ./configure \ |
al@19768 | 23 --enable-symcryptrun \ |
al@19768 | 24 --enable-maintainer-mode \ |
al@19768 | 25 $CONFIGURE_ARGS && |
al@20794 | 26 make && |
al@19768 | 27 makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi && |
al@19768 | 28 makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi && |
al@20794 | 29 make install || return 1 |
al@19226 | 30 |
al@20794 | 31 # FIXME. |
al@20794 | 32 # Looks like functions install-exec-hook() from g10/Makefile work in |
al@20794 | 33 # an unexpected manner. It required to spend too many time in debugging, so |
al@20794 | 34 # better I'll apply here "fast and dirty hack" that will make the same: |
al@20794 | 35 install -m755 g10/gpg $install/usr/bin/gpg2 |
al@20794 | 36 install -m755 g10/gpgv $install/usr/bin/gpgv2 |
al@20794 | 37 # The same "hack" for doc/Makefile |
al@20794 | 38 cook_pick_manpages doc/gpg.1 doc/gpgv.1 |
al@19768 | 39 |
al@20794 | 40 docdir="$install/usr/share/doc/gnupg-$VERSION" |
al@20794 | 41 install -v -m755 -d $docdir/html |
al@20794 | 42 install -v -m644 doc/gnupg_nochunks.html $docdir/html/gnupg.html |
al@20794 | 43 install -v -m644 doc/*.texi doc/gnupg.txt $docdir |
al@20794 | 44 |
al@20794 | 45 ln -svf gpg2 $install/usr/bin/gpg |
al@20794 | 46 ln -svf gpgv2 $install/usr/bin/gpgv |
pankso@29 | 47 } |
pankso@29 | 48 |
al@20794 | 49 genpkg_rules() { |
al@19768 | 50 copy @std |
al@20794 | 51 DEPENDS="bzlib libassuan libgcrypt libgnutls libgpg-error libksba libldap \ |
al@20794 | 52 libsqlite3 libusb npth readline zlib pinentry" |
pankso@29 | 53 } |