/[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.2 - (hide annotations) (download)
Sat May 5 03:20:41 2012 UTC (7 years, 9 months ago) by jdhore
Branch: MAIN
Changes since 1.1: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

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

1 tetromino 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jdhore 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.9.4.0.ebuild,v 1.1 2012/03/27 09:18:33 tetromino Exp $
4 tetromino 1.1
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="gnome test"
17    
18     RDEPEND="
19     >=net-misc/networkmanager-${PV}
20     >=dev-libs/dbus-glib-0.74
21     >=net-misc/vpnc-0.5
22     gnome? (
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 jdhore 1.2 virtual/pkgconfig"
31 tetromino 1.1
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 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