wok-next view gpgme/receipt @ rev 21085

Up: bison (3.2.3), cmake (3.13.2), curl (7.63.0), dbus (1.12.12), dialog (1.3-20181107), doxygen (1.8.14), e2fsprogs (1.44.5), glib (2.58.2), grep (3.3), itstool (2.0.5), jansson (2.12), jbig2dec (0.15), libfm-extra (1.3.1), libfm (1.3.1), libgpg-error (1.33), libidn (1.35), libjpeg-turbo (2.0.1), libtirpc (1.1.4), libuv (1.24.1), opus (1.3), opusfile (0.11), pango (1.42.4), pangomm (2.42.0), pcmanfm (1.3.1), rpcbind (1.2.5), rpcsvc-proto (1.4), sed (4.7), tcl (8.6.9), tslib (1.18), wget (1.20), wpa_supplicant (2.7)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 25 19:30:28 2018 +0200 (2018-12-25)
parents f48456621a9d
children 2efce4147058
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gpgme"
4 VERSION="1.11.1"
5 CATEGORY="security"
6 SHORT_DESC="Support for cryptography"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://www.gnupg.org/related_software/gpgme/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/gpgme.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpgme/$TARBALL"
14 # Integrity check: https://www.gnupg.org/download/integrity_check.html
15 TARBALL_SHA1="95b1fc427871ca8d30d6d3b1985c816fe0b5077b"
17 BUILD_DEPENDS="libgpg-error-dev libassuan-dev gnupg swig python-dev"
18 SPLIT="python-gpgme $PACKAGE-lisp $PACKAGE $PACKAGE-dev"
20 compile_rules() {
21 ./configure \
22 --enable-languages=cl,python \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 python-gpgme)
32 copy python2.7/
33 DEPENDS="gpgme python"
34 CAT="security|Python bindings"
35 ;;
36 gpgme-lisp)
37 copy common-lisp/
38 DEPENDS="gpgme"
39 CAT="security|Common Lisp bindings"
40 ;;
41 gpgme)
42 copy @std @rm
43 rm -r $fs/usr/lib/python2.7/ # empty dirs
44 DEPENDS="libassuan libgpg-error gnupg"
45 ;;
46 *-dev)
47 copy @dev
48 DEPENDS="gpgme libgpg-error-dev"
49 ;;
50 esac
51 }