Contents of /trunk/extras/gpgme/gpgme-1.12.0-r1.smage2
Parent Directory | Revision Log
Revision 31747 -
(show annotations)
(download)
Thu Dec 6 14:20:32 2018 UTC (5 years, 9 months ago) by niro
File size: 1053 byte(s)
Thu Dec 6 14:20:32 2018 UTC (5 years, 9 months ago) by niro
File size: 1053 byte(s)
-fixed UP2DATE
1 | # $Id$ |
2 | |
3 | PNAME="gpgme" |
4 | PVER="1.12.0" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="app-crypt" |
8 | |
9 | DESCRIPTION="GPGME (GnuPG Made Easy) - an interface library for application access for GnuPG." |
10 | HOMEPAGE="http://www.gnupg.org/related_software/gpgme/index.en.html" |
11 | |
12 | DEPEND=">= app-crypt/libgcrypt-1.8" |
13 | |
14 | SDEPEND=">= app-crypt/libgpg-error-1.32 |
15 | >= app-crypt/libassuan-2.5 |
16 | >= dev-libs/pth-2 |
17 | >= app-crypt/gnupg-2.2" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | sminclude mbuild |
23 | msetfeature "!check" |
24 | |
25 | SRC_URI=( |
26 | https://gnupg.org/ftp/gcrypt/${PNAME}/${SRCFILE} |
27 | #ftp://ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE} |
28 | #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE} |
29 | mirror://${PNAME}/${SRCFILE} |
30 | ) |
31 | |
32 | UP2DATE="updatecmd http://www.gnupg.org/download/index.en.html | grep ${PNAME}-[0-9] | highesttarball" |
33 | |
34 | src_compile() |
35 | { |
36 | cd ${SRCDIR} |
37 | |
38 | mconfigure \ |
39 | --includedir=/usr/include/${PNAME} \ |
40 | --libexecdir=/usr/$(mlibdir)/${PNAME} \ |
41 | --with-pth=yes \ |
42 | --with-gpg=/usr/bin/gpg \ |
43 | --with-gpgsm=/usr/bin/gpgsm \ |
44 | || die |
45 | |
46 | mmake || die |
47 | } |