wok-next view gpgme/receipt @ rev 20785
gpgme: add gnupg, since build can not find gpgconf and gpg
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 07:02:52 2018 +0000 (2018-06-09) |
parents | 7bf02e95fe42 |
children | bccb9a5d9be6 |
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="erjo@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/stable/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"
18 SPLIT="gpgme-dev"
20 compile_rules() {
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 gpgme)
30 copy @std
31 rm -r $fs/usr/share
32 DEPENDS="libassuan libgpg-error gnupg"
33 ;;
34 *-dev)
35 copy @dev common-lisp/
36 DEPENDS="gpgme libassuan-dev libgpg-error-dev gnupg"
37 ;;
38 esac
39 }