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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sun Mar 15 13:31:56 2015 UTC (4 years, 10 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
x86 stable, bug 534012

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

1 pacho 1.1 # Copyright 1999-2015 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 pacho 1.3 # $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-pptp/networkmanager-pptp-1.0.0.ebuild,v 1.2 2015/03/14 18:44:47 pacho Exp $
4 pacho 1.1
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 pacho 1.3 KEYWORDS="amd64 ~arm x86"
17 pacho 1.1 IUSE="gtk"
18    
19     RDEPEND="
20     >=net-misc/networkmanager-0.9.10:=
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