wok-next annotate gnupg/receipt @ rev 20309

Up foo2xqx (20170320)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 16:07:36 2017 +0100 (2017-11-10)
parents d7873beccb0f
children 02b3b05a6614
rev   line source
pankso@29 1 # SliTaz package receipt.
pankso@29 2
pankso@29 3 PACKAGE="gnupg"
al@19768 4 VERSION="2.1.21"
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@19768 10
pankso@29 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19226 12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnupg/$TARBALL"
al@19768 13 # https://www.gnupg.org/download/integrity_check.html
al@19768 14 TARBALL_SHA1="1852c066bc21893bc52026ead78edf50fdf15e13"
pankso@29 15
pankso@10437 16 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
al@19768 17 npth-dev perl libusb-dev sqlite3-dev gettext zlib-dev readline-dev texinfo"
erjo@9941 18
pankso@29 19 # Rules to configure and make the package.
pankso@29 20 compile_rules()
pankso@29 21 {
al@19768 22 ./configure \
al@19768 23 --enable-symcryptrun \
al@19768 24 --enable-maintainer-mode \
al@19768 25 --docdir=/usr/share/doc/gnupg-$VERSION \
al@19768 26 $CONFIGURE_ARGS &&
al@19768 27 make && make install &&
al@19226 28
al@19768 29 makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi &&
al@19768 30 makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi &&
al@19226 31
al@19768 32 docdir="$install/usr/share/doc/gnupg-$VERSION" &&
al@19768 33 install -v -m755 -d $docdir/html &&
al@19768 34 install -v -m644 doc/gnupg_nochunks.html $docdir/html/gnupg.html &&
al@19768 35 install -v -m644 doc/*.texi doc/gnupg.txt $docdir &&
al@19768 36
al@19768 37 for f in gpg gpgv; do
al@19768 38 ln -svf ${f}2.1 $install/usr/share/man/man1/$f.1 &&
al@19768 39 ln -svf ${f}2 $install/usr/bin/$f
al@19768 40 done
al@19768 41 unset f
pankso@29 42 }
pankso@29 43
pankso@29 44 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@29 45 genpkg_rules()
pankso@29 46 {
al@19768 47 copy @std
pascal@20098 48 DEPENDS="libassuan libgcrypt libgpg-error libksba libsqlite3 libusb ncurses \
al@19768 49 npth readline zlib bzlib pinentry"
pankso@29 50 }