/[gentoo-x86]/net-misc/networkmanager-openvpn/networkmanager-openvpn-0.8.2-r1.ebuild
Gentoo

Contents of /net-misc/networkmanager-openvpn/networkmanager-openvpn-0.8.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu Sep 13 09:55:14 2012 UTC (7 years ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Version bump, drop old.

(Portage version: 2.2.0_alpha125/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-openvpn/networkmanager-openvpn-0.8.2-r1.ebuild,v 1.7 2012/08/14 04:20:06 tetromino Exp $
4
5 EAPI="2"
6
7 inherit eutils gnome.org
8
9 # NetworkManager likes itself with capital letters
10 MY_PN=${PN/networkmanager/NetworkManager}
11
12 DESCRIPTION="NetworkManager OpenVPN plugin."
13 HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
14 SRC_URI="${SRC_URI//${PN}/${MY_PN}}"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="amd64 x86"
19 IUSE="gtk"
20
21 RDEPEND="
22 >=net-misc/networkmanager-${PV}
23 >=net-misc/openvpn-2.1_rc9
24 >=dev-libs/dbus-glib-0.74
25 gtk? (
26 >=x11-libs/gtk+-2.6:2
27 gnome-base/gconf:2
28 gnome-base/gnome-keyring
29 gnome-base/libglade:2.0
30 )"
31
32 DEPEND="${RDEPEND}
33 sys-devel/gettext
34 dev-util/intltool
35 virtual/pkgconfig"
36
37 S="${WORKDIR}/${MY_PN}-${PV}"
38
39 # FAIL: (tls-import-data) unexpected 'ca' secret value
40 RESTRICT="test"
41
42 src_prepare() {
43 # Drop DEPRECATED flags, bug #385597
44 sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
45 auth-dialog/Makefile.am auth-dialog/Makefile.in \
46 common/Makefile.am common/Makefile.in \
47 common-gnome/Makefile.am common-gnome/Makefile.in \
48 properties/Makefile.am properties/Makefile.in \
49 src/Makefile.am src/Makefile.in \
50 configure.ac configure || die
51 }
52
53 src_configure() {
54 ECONF="--disable-more-warnings
55 $(use_with gtk gnome)"
56
57 econf ${ECONF}
58 }
59
60 src_install() {
61 emake DESTDIR="${D}" install || die "emake install failed"
62
63 dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
64 }

  ViewVC Help
Powered by ViewVC 1.1.20