/[gentoo-x86]/app-crypt/gpa/gpa-0.9.1_pre20100416.ebuild
Gentoo

Contents of /app-crypt/gpa/gpa-0.9.1_pre20100416.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu May 3 18:16:38 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-crypt/gpa/gpa-0.9.1_pre20100416.ebuild,v 1.8 2011/03/27 10:03:38 nirbheek Exp $
4
5 EAPI="3"
6
7 inherit autotools eutils multilib
8
9 DESCRIPTION="The GNU Privacy Assistant (GPA) is a graphical user interface for GnuPG"
10 HOMEPAGE="http://gpa.wald.intevation.org"
11 #STUPID_NUM="603"
12 #SRC_URI="http://wald.intevation.org/frs/download.php/${STUPID_NUM}/${P}.tar.bz2"
13 SRC_URI="mirror://gentoo/${P}.tar.bz2"
14
15 LICENSE="GPL-3"
16 SLOT="0"
17 KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
18 IUSE="nls"
19
20 RDEPEND=">=x11-libs/gtk+-2.10.0:2
21 >=dev-libs/libgpg-error-1.4
22 >=dev-libs/libassuan-1.1.0
23 >=app-crypt/gnupg-2
24 >=app-crypt/gpgme-1.2.0"
25 DEPEND="${RDEPEND}
26 virtual/pkgconfig
27 nls? ( sys-devel/gettext )"
28
29 src_prepare() {
30 epatch "${FILESDIR}"/${PN}-desktop-file-validate.patch
31
32 local x=/usr/share/gettext/po/Makefile.in.in
33 [[ -e $x ]] && cp -f $x po/ #323743
34
35 sed -e "s|gnupg/:|:|g" -i configure.ac || die
36
37 eautoreconf
38 }
39
40 src_configure() {
41 local myconf
42
43 # By default gnupg puts gpgkeys_hkp in /usr/libexec/gnupg, so
44 # check if it is in uncommon /usr/lib/gnupg, and change libexecdir
45 # if so. If we do not do this, hkp server types is not usable,
46 # as gpa cannot find gpgkeys_hkp ...
47 [[ -f /usr/lib/gnupg/gpgkeys_hkp ]] && myconf="--libexecdir=/usr/$(get_libdir)"
48
49 econf \
50 --with-gpgme-prefix=/usr \
51 --with-libassuan-prefix=/usr \
52 $(use_enable nls) \
53 ${myconf}
54 }
55
56 src_install() {
57 emake DESTDIR="${D}" install || die "emake install failed"
58 dodoc AUTHORS ChangeLog README NEWS TODO
59 }

  ViewVC Help
Powered by ViewVC 1.1.20