wok-next view gnupg/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 82b613cfd1e0 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnupg"
4 VERSION="2.2.12"
5 CATEGORY="security"
6 SHORT_DESC="Free implementation of the OpenPGP"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnupg.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/gnupg.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnupg/$TARBALL"
14 TARBALL_SHA1="2aeccc35ea8034306ff7a1072b84abbaa79619c3"
15 # https://www.gnupg.org/download/integrity_check.html
17 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
18 npth-dev perl libusb-dev sqlite3-dev gettext-dev zlib-dev bzip2-dev \
19 readline-dev texinfo gnutls-dev openldap-dev"
20 DEPENDS="libassuan libbzip2 libgcrypt libgnutls libgpg-error libksba libldap \
21 libsqlite3 libusb npth readline zlib pinentry"
23 compile_rules() {
24 sed -e '/noinst_SCRIPTS = gpg-zip/c sbin_SCRIPTS += gpg-zip' \
25 -i tools/Makefile.in # to build gpg-zip
27 ./configure \
28 --enable-symcryptrun \
29 --enable-maintainer-mode \
30 $CONFIGURE_ARGS &&
31 make &&
32 makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi &&
33 makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi &&
34 make install || return 1
36 docdir="$install/usr/share/doc/$PACKAGE-$VERSION"
37 install -v -m755 -d $docdir/html
38 install -v -m644 doc/gnupg_nochunks.html $docdir/html/gnupg.html
39 install -v -m644 doc/*.texi doc/gnupg.txt $docdir
40 }