/[gentoo-x86]/net-misc/networkmanager-pptp/networkmanager-pptp-0.9.10.0.ebuild
Gentoo

Contents of /net-misc/networkmanager-pptp/networkmanager-pptp-0.9.10.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Dec 19 13:42:52 2014 UTC (4 years, 11 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
amd64 stable, bug 529964

(Portage version: 2.2.15/cvs/Linux x86_64, RepoMan options: --include-arches="amd64", signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-pptp/networkmanager-pptp-0.9.10.0.ebuild,v 1.2 2014/12/18 15:00:51 pacho Exp $
4
5 EAPI=5
6 GCONF_DEBUG="no"
7 GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
8
9 inherit gnome2
10
11 DESCRIPTION="NetworkManager PPTP plugin"
12 HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
13
14 LICENSE="GPL-2+"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE="gtk"
18
19 RDEPEND="
20 >=net-misc/networkmanager-0.9.6
21 >=dev-libs/dbus-glib-0.74
22 >=dev-libs/glib-2.32:2
23 net-dialup/ppp:=
24 net-dialup/pptpclient
25 gtk? (
26 app-crypt/libsecret
27 >=gnome-extra/nm-applet-0.9.9.0
28 >=x11-libs/gtk+-3.4:3
29 )"
30
31 DEPEND="${RDEPEND}
32 sys-devel/gettext
33 dev-util/intltool
34 virtual/pkgconfig
35 "
36
37 src_configure() {
38 local myconf
39 # Same hack as net-dialup/pptpd to get proper plugin dir for ppp, bug #519986
40 local PPPD_VER=`best_version net-dialup/ppp`
41 PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR}
42 PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision
43 myconf="${myconf} --with-pppd-plugin-dir=/usr/$(get_libdir)/pppd/${PPPD_VER}"
44
45 gnome2_src_configure \
46 --disable-more-warnings \
47 --disable-static \
48 --with-dist-version=Gentoo \
49 $(use_with gtk gnome) \
50 ${myconf}
51 }

  ViewVC Help
Powered by ViewVC 1.1.20