wok-next annotate gnupg/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 82b613cfd1e0
children
rev   line source
al@20794 1 # SliTaz package receipt v2.
pankso@29 2
pankso@29 3 PACKAGE="gnupg"
al@21143 4 VERSION="2.2.12"
pankso@209 5 CATEGORY="security"
al@19768 6 SHORT_DESC="Free implementation of the OpenPGP"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@19226 9 WEB_SITE="https://www.gnupg.org/"
al@20966 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21143 14 TARBALL_SHA1="2aeccc35ea8034306ff7a1072b84abbaa79619c3"
al@20794 15 # https://www.gnupg.org/download/integrity_check.html
pankso@29 16
pankso@10437 17 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
al@21020 18 npth-dev perl libusb-dev sqlite3-dev gettext-dev zlib-dev bzip2-dev \
al@21020 19 readline-dev texinfo gnutls-dev openldap-dev"
al@21143 20 DEPENDS="libassuan libbzip2 libgcrypt libgnutls libgpg-error libksba libldap \
al@21143 21 libsqlite3 libusb npth readline zlib pinentry"
erjo@9941 22
al@20794 23 compile_rules() {
al@21143 24 sed -e '/noinst_SCRIPTS = gpg-zip/c sbin_SCRIPTS += gpg-zip' \
al@21143 25 -i tools/Makefile.in # to build gpg-zip
al@21143 26
al@19768 27 ./configure \
al@19768 28 --enable-symcryptrun \
al@19768 29 --enable-maintainer-mode \
al@19768 30 $CONFIGURE_ARGS &&
al@20794 31 make &&
al@19768 32 makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi &&
al@19768 33 makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi &&
al@20794 34 make install || return 1
al@19226 35
al@21143 36 docdir="$install/usr/share/doc/$PACKAGE-$VERSION"
al@20794 37 install -v -m755 -d $docdir/html
al@20794 38 install -v -m644 doc/gnupg_nochunks.html $docdir/html/gnupg.html
al@20794 39 install -v -m644 doc/*.texi doc/gnupg.txt $docdir
pankso@29 40 }