Magellan Linux

Contents of /trunk/extras/gpgme/gpgme-1.12.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31749 - (show annotations) (download)
Thu Dec 6 14:49:28 2018 UTC (5 years, 4 months ago) by niro
File size: 1014 byte(s)
-do not override includedir for samba
1 # $Id$
2
3 PNAME="gpgme"
4 PVER="1.12.0"
5 PBUILD="r2"
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 --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 }