wok-next view gpgme/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
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 }