wok-next diff gnupg/receipt @ rev 19929
libwebkit, libxfconf, yelp-xsl: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 00:34:25 2017 +0200 (2017-10-15) |
parents | ac006a7bf27c |
children | 2809ecb8c754 |
line diff
1.1 --- a/gnupg/receipt Thu Jun 23 01:40:19 2016 +0300 1.2 +++ b/gnupg/receipt Sun Oct 15 00:34:25 2017 +0200 1.3 @@ -1,35 +1,50 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gnupg" 1.7 -VERSION="2.0.30" 1.8 +VERSION="2.1.21" 1.9 CATEGORY="security" 1.10 -SHORT_DESC="Free implementation of the OpenPGP." 1.11 +SHORT_DESC="Free implementation of the OpenPGP" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL3" 1.14 WEB_SITE="https://www.gnupg.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnupg/$TARBALL" 1.18 +# https://www.gnupg.org/download/integrity_check.html 1.19 +TARBALL_SHA1="1852c066bc21893bc52026ead78edf50fdf15e13" 1.20 1.21 -DEPENDS="bzlib libassuan libcurl libgcrypt libksba libusb-compat ncurses pth \ 1.22 -readline pinentry" 1.23 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \ 1.24 -pth-dev curl-dev zlib-dev libusb-compat-dev readline-dev" 1.25 +npth-dev perl libusb-dev sqlite3-dev gettext zlib-dev readline-dev texinfo" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - # Integrity check: https://www.gnupg.org/download/integrity_check.html 1.31 - echo "a9f024588c356a55e2fd413574bfb55b2e18794a $SRC/$TARBALL" | sha1sum -c || exit 1 1.32 + ./configure \ 1.33 + --enable-symcryptrun \ 1.34 + --enable-maintainer-mode \ 1.35 + --docdir=/usr/share/doc/gnupg-$VERSION \ 1.36 + $CONFIGURE_ARGS && 1.37 + make && make install && 1.38 1.39 - ./configure $CONFIGURE_ARGS && make && make install 1.40 + makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi && 1.41 + makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi && 1.42 1.43 - find $install/usr/share/man -type f -exec gzip -9 \{\} \; 1.44 + docdir="$install/usr/share/doc/gnupg-$VERSION" && 1.45 + install -v -m755 -d $docdir/html && 1.46 + install -v -m644 doc/gnupg_nochunks.html $docdir/html/gnupg.html && 1.47 + install -v -m644 doc/*.texi doc/gnupg.txt $docdir && 1.48 + 1.49 + for f in gpg gpgv; do 1.50 + ln -svf ${f}2.1 $install/usr/share/man/man1/$f.1 && 1.51 + ln -svf ${f}2 $install/usr/bin/$f 1.52 + done 1.53 + unset f 1.54 } 1.55 1.56 # Rules to gen a SliTaz package suitable for Tazpkg. 1.57 genpkg_rules() 1.58 { 1.59 - cp -a $install/* $fs 1.60 - ln -sf gpg2 $fs/usr/bin/gpg 1.61 - rm -r $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/locale 1.62 + copy @std 1.63 + DEPENDS="libassuan libgcrypt libgpg-error libksba libsqlite libusb ncurses \ 1.64 + npth readline zlib bzlib pinentry" 1.65 }