wok-next view gnupg/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | ac006a7bf27c |
children | 2809ecb8c754 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.1.21"
5 CATEGORY="security"
6 SHORT_DESC="Free implementation of the OpenPGP"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnupg.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnupg/$TARBALL"
13 # https://www.gnupg.org/download/integrity_check.html
14 TARBALL_SHA1="1852c066bc21893bc52026ead78edf50fdf15e13"
16 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
17 npth-dev perl libusb-dev sqlite3-dev gettext zlib-dev readline-dev texinfo"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --enable-symcryptrun \
24 --enable-maintainer-mode \
25 --docdir=/usr/share/doc/gnupg-$VERSION \
26 $CONFIGURE_ARGS &&
27 make && make install &&
29 makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi &&
30 makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi &&
32 docdir="$install/usr/share/doc/gnupg-$VERSION" &&
33 install -v -m755 -d $docdir/html &&
34 install -v -m644 doc/gnupg_nochunks.html $docdir/html/gnupg.html &&
35 install -v -m644 doc/*.texi doc/gnupg.txt $docdir &&
37 for f in gpg gpgv; do
38 ln -svf ${f}2.1 $install/usr/share/man/man1/$f.1 &&
39 ln -svf ${f}2 $install/usr/bin/$f
40 done
41 unset f
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 copy @std
48 DEPENDS="libassuan libgcrypt libgpg-error libksba libsqlite libusb ncurses \
49 npth readline zlib bzlib pinentry"
50 }