Line
Link Here
|
0 |
-- app-crypt/gpgme/gpgme-1.1.6.ebuild |
0 |
++ app-crypt/gpgme/gpgme-1.1.7.ebuild |
Lines 1-48
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2008 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/gpgme-1.1.6.ebuild,v 1.8 2008/03/24 10:57:00 armin76 Exp $ |
3 |
# $Header: $ |
4 |
|
|
|
5 |
inherit autotools eutils |
6 |
|
4 |
|
7 |
DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use" |
5 |
DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use" |
8 |
HOMEPAGE="http://www.gnupg.org/related_software/gpgme" |
6 |
HOMEPAGE="http://www.gnupg.org/related_software/gpgme" |
9 |
SRC_URI="mirror://gnupg/gpgme/${P}.tar.gz" |
7 |
SRC_URI="mirror://gnupg/gpgme/${P}.tar.gz" |
10 |
|
8 |
|
11 |
LICENSE="GPL-2" |
9 |
LICENSE="GPL-2 LGPL-2" |
12 |
SLOT="1" |
10 |
SLOT="1" |
13 |
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" |
11 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
14 |
IUSE="pth" |
12 |
IUSE="pth" |
15 |
|
13 |
|
16 |
DEPEND=">=dev-libs/libgpg-error-1.4 |
14 |
DEPEND=">=dev-libs/libgpg-error-1.4 |
17 |
>=app-crypt/gnupg-1.9.20-r1 |
15 |
>=app-crypt/gnupg-1.9.20-r1 |
18 |
pth? ( >=dev-libs/pth-1.2 )" |
16 |
pth? ( >=dev-libs/pth-1.2 )" |
19 |
|
17 |
RDEPEND="${DEPEND}" |
20 |
RDEPEND="${DEPEND} |
|
|
21 |
dev-libs/libgcrypt" |
22 |
|
23 |
src_unpack() { |
24 |
unpack ${A} |
25 |
cd "${S}" |
26 |
|
27 |
epatch "${FILESDIR}/${P}-cvs.patch" |
28 |
chmod a+x "tests/gpg/pinentry" |
29 |
AT_M4DIR="m4" eautoreconf |
30 |
|
31 |
# We need to call elibtoolize so that we get sane .so versioning on fbsd. |
32 |
#elibtoolize |
33 |
} |
34 |
|
18 |
|
35 |
src_compile() { |
19 |
src_compile() { |
36 |
econf \ |
20 |
econf \ |
37 |
--includedir=/usr/include/gpgme \ |
21 |
--includedir=/usr/include/gpgme \ |
38 |
--with-gpg=/usr/bin/gpg \ |
22 |
--with-gpg=/usr/bin/gpg \ |
39 |
--with-gpgsm=/usr/bin/gpgsm \ |
23 |
--with-gpgsm=/usr/bin/gpgsm \ |
40 |
$(use_with pth) \ |
24 |
$(use_with pth) |
41 |
|| die |
25 |
emake || die "emake failed" |
42 |
emake || die |
|
|
43 |
} |
26 |
} |
44 |
|
27 |
|
45 |
src_install() { |
28 |
src_install() { |
46 |
emake DESTDIR="${D}" install || die |
29 |
emake DESTDIR="${D}" install || die "emake install failed" |
47 |
dodoc AUTHORS ChangeLog NEWS README THANKS TODO VERSION |
30 |
dodoc AUTHORS ChangeLog NEWS README THANKS TODO |
48 |
} |
31 |
} |