/[gentoo-alt]/trunk/prefix/app-crypt/gpgme/gpgme-1.1.2-r1.ebuild
Gentoo

Contents of /trunk/prefix/app-crypt/gpgme/gpgme-1.1.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1429 - (show annotations) (download)
Sun Sep 10 10:28:51 2006 UTC (7 years, 11 months ago) by grobian
File size: 1224 byte(s)
added gnupg and gpgme


1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/gpgme-1.1.2-r1.ebuild,v 1.11 2006/07/23 02:57:01 psi29a Exp $
4
5 EAPI="prefix"
6
7 inherit libtool eutils
8
9 DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
10 HOMEPAGE="http://www.gnupg.org/(en)/related_software/gpgme/index.html"
11 SRC_URI="mirror://gnupg/gpgme/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="1"
15 KEYWORDS="amd64 ppc-macos x86"
16 IUSE=""
17
18 DEPEND=">=dev-libs/libgpg-error-0.5
19 dev-libs/pth
20 >=app-crypt/gnupg-1.9.20-r1"
21
22 RDEPEND="${DEPEND}
23 dev-libs/libgcrypt"
24
25 src_unpack() {
26 unpack ${A}
27 cd "${S}"
28
29 epatch "${FILESDIR}/${P}-fbsd.patch"
30
31 elibtoolize
32 }
33
34 src_compile() {
35 if use selinux; then
36 sed -i -e "s:tests = tests:tests = :" Makefile.in || die "sed failed"
37 fi
38
39 econf \
40 --includedir=${EPREFIX}/usr/include/gpgme \
41 --with-gpg=${EPREFIX}/usr/bin/gpg \
42 --with-pth=yes \
43 --with-gpgsm=${EPREFIX}/usr/bin/gpgsm \
44 || die "econf failed"
45 emake CFLAGS="${CFLAGS} -I../assuan/" || die "emake failed"
46 }
47
48 src_install() {
49 make DESTDIR=${EDEST} install || die "make install failed"
50 dodoc AUTHORS ChangeLog NEWS README THANKS TODO VERSION
51 }

  ViewVC Help
Powered by ViewVC 1.1.20