/[gentoo-x86]/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.9.4.0.ebuild
Gentoo

Contents of /net-misc/networkmanager-vpnc/networkmanager-vpnc-0.9.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Aug 14 04:28:50 2012 UTC (7 years, 6 months ago) by tetromino
Branch: MAIN
Changes since 1.2: +4 -4 lines
Renamed 'gnome' USE flag to 'gtk', since non-gnome users probably want it too (bug #427406, thanks to  Alex Brandt).

(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.9.4.0.ebuild,v 1.2 2012/05/05 03:20:41 jdhore Exp $
4
5 EAPI="4"
6 GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
7
8 inherit gnome.org
9
10 DESCRIPTION="NetworkManager VPNC plugin"
11 HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="gtk test"
17
18 RDEPEND="
19 >=net-misc/networkmanager-${PV}
20 >=dev-libs/dbus-glib-0.74
21 >=net-misc/vpnc-0.5
22 gtk? (
23 >=x11-libs/gtk+-2.91.4:3
24 gnome-base/gnome-keyring
25 )"
26
27 DEPEND="${RDEPEND}
28 sys-devel/gettext
29 dev-util/intltool
30 virtual/pkgconfig"
31
32 src_prepare() {
33 # Test will fail if the machine doesn't have a particular locale installed
34 sed '/test_non_utf8_import (plugin/ d' \
35 -i properties/tests/test-import-export.c || die "sed failed"
36
37 # Drop DEPRECATED flags, bug #384987
38 sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
39 auth-dialog/Makefile.am auth-dialog/Makefile.in \
40 properties/Makefile.am properties/Makefile.in \
41 src/Makefile.am src/Makefile.in || die
42 }
43
44 src_configure() {
45 ECONF="--disable-more-warnings
46 --disable-static
47 --with-dist-version=Gentoo
48 --with-gtkver=3
49 $(use_with gtk gnome)
50 $(use_with test tests)"
51
52 econf ${ECONF}
53 }
54
55 src_install() {
56 default
57 # Remove useless .la files
58 find "${D}" -name '*.la' -exec rm -f {} +
59 }

  ViewVC Help
Powered by ViewVC 1.1.20