Contents of /trunk/core/gpgme/gpgme-1.3.1-r1.smage2
Parent Directory | Revision Log
Revision 10545 -
(show annotations)
(download)
Wed Jan 25 18:32:02 2012 UTC (12 years, 8 months ago) by niro
File size: 1058 byte(s)
Wed Jan 25 18:32:02 2012 UTC (12 years, 8 months ago) by niro
File size: 1058 byte(s)
-import from magellan-next
1 | # $Id$ |
2 | |
3 | PNAME="gpgme" |
4 | PVER="1.3.1" |
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.4.6" |
13 | |
14 | SDEPEND=">= app-crypt/libgpg-error-1.9 |
15 | >= app-crypt/libassuan-2.0.2 |
16 | >= dev-libs/pth-2 |
17 | >= app-crypt/gnupg-2.0.17" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | sminclude mbuild |
23 | |
24 | SRC_URI=( |
25 | #ftp://ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE} |
26 | ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${SRCFILE} |
28 | ) |
29 | |
30 | #UP2DATE="updatecmd ftp://ftp.gnupg.org/gcrypt/${PNAME}/ | lasttarball" |
31 | UP2DATE="updatecmd ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/ | lasttarball" |
32 | |
33 | src_compile() |
34 | { |
35 | cd ${SRCDIR} |
36 | |
37 | mconfigure \ |
38 | --includedir=/usr/include/${PNAME} \ |
39 | --libexecdir=/usr/$(mlibdir)/${PNAME} \ |
40 | --with-pth=yes \ |
41 | --with-gpg=/usr/bin/gpg \ |
42 | --with-gpgsm=/usr/bin/gpgsm \ |
43 | || die |
44 | |
45 | mmake || die |
46 | } |