wok-next diff 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 |
line diff
1.1 --- a/gnupg/receipt Sat Jun 09 09:29:38 2018 +0000 1.2 +++ b/gnupg/receipt Tue Jun 26 15:41:27 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="gnupg" 1.8 VERSION="2.2.8" 1.9 @@ -7,44 +7,47 @@ 1.10 MAINTAINER="pankso@slitaz.org" 1.11 LICENSE="GPL3" 1.12 WEB_SITE="https://www.gnupg.org/" 1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/gnupg.html" 1.14 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnupg/$TARBALL" 1.17 -# https://www.gnupg.org/download/integrity_check.html 1.18 +# https://www.gnupg.org/download/integrity_check.html 1.19 TARBALL_SHA1="d87553a125832ea90e8aeb3ceeecf24f88de56fb" 1.20 1.21 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \ 1.22 -npth-dev perl libusb-dev sqlite3-dev gettext zlib-dev readline-dev texinfo gnutls-dev openldap-dev" 1.23 +npth-dev perl libusb-dev sqlite3-dev gettext zlib-dev bzip2-dev readline-dev \ 1.24 +texinfo gnutls-dev openldap-dev" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 +compile_rules() { 1.30 ./configure \ 1.31 --enable-symcryptrun \ 1.32 --enable-maintainer-mode \ 1.33 - --docdir=/usr/share/doc/gnupg-$VERSION \ 1.34 $CONFIGURE_ARGS && 1.35 - make && make install && 1.36 - 1.37 + make && 1.38 makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi && 1.39 makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi && 1.40 + make install || return 1 1.41 1.42 - docdir="$install/usr/share/doc/gnupg-$VERSION" && 1.43 - install -v -m755 -d $docdir/html && 1.44 - install -v -m644 doc/gnupg_nochunks.html $docdir/html/gnupg.html && 1.45 - install -v -m644 doc/*.texi doc/gnupg.txt $docdir && 1.46 + # FIXME. 1.47 + # Looks like functions install-exec-hook() from g10/Makefile work in 1.48 + # an unexpected manner. It required to spend too many time in debugging, so 1.49 + # better I'll apply here "fast and dirty hack" that will make the same: 1.50 + install -m755 g10/gpg $install/usr/bin/gpg2 1.51 + install -m755 g10/gpgv $install/usr/bin/gpgv2 1.52 + # The same "hack" for doc/Makefile 1.53 + cook_pick_manpages doc/gpg.1 doc/gpgv.1 1.54 1.55 - for f in gpg gpgv; do 1.56 - ln -svf ${f}2.1 $install/usr/share/man/man1/$f.1 && 1.57 - ln -svf ${f}2 $install/usr/bin/$f 1.58 - done 1.59 - unset f 1.60 + docdir="$install/usr/share/doc/gnupg-$VERSION" 1.61 + install -v -m755 -d $docdir/html 1.62 + install -v -m644 doc/gnupg_nochunks.html $docdir/html/gnupg.html 1.63 + install -v -m644 doc/*.texi doc/gnupg.txt $docdir 1.64 + 1.65 + ln -svf gpg2 $install/usr/bin/gpg 1.66 + ln -svf gpgv2 $install/usr/bin/gpgv 1.67 } 1.68 1.69 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.70 -genpkg_rules() 1.71 -{ 1.72 +genpkg_rules() { 1.73 copy @std 1.74 - DEPENDS="libassuan libgcrypt libgpg-error libksba libsqlite3 libusb ncurses \ 1.75 - npth readline zlib bzlib pinentry gnutls libldap" 1.76 + DEPENDS="bzlib libassuan libgcrypt libgnutls libgpg-error libksba libldap \ 1.77 + libsqlite3 libusb npth readline zlib pinentry" 1.78 }