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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Sep 13 09:55:31 2012 UTC (7 years ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +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-vpnc/networkmanager-vpnc-0.8.2.ebuild,v 1.5 2012/08/14 04:28:50 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 VPNC 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 >=dev-libs/dbus-glib-0.74
24 >=net-misc/vpnc-0.5
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 # XXX: https://bugzilla.gnome.org/show_bug.cgi?id=608348
40 RESTRICT="test"
41
42 src_prepare() {
43 # Drop DEPRECATED flags, bug #384987
44 sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
45 auth-dialog/Makefile.am auth-dialog/Makefile.in \
46 common-gnome/Makefile.am common-gnome/Makefile.in \
47 properties/Makefile.am properties/Makefile.in \
48 src/Makefile.am src/Makefile.in || die
49 }
50
51 src_configure() {
52 ECONF="--disable-more-warnings
53 $(use_with gtk gnome)"
54
55 econf ${ECONF}
56 }
57
58 src_install() {
59 emake DESTDIR="${D}" install || die "emake install failed"
60
61 dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
62 }

  ViewVC Help
Powered by ViewVC 1.1.20