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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Apr 27 08:59:19 2014 UTC (5 years, 7 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
drop old

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2013 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.6.0.ebuild,v 1.4 2013/09/16 01:25:30 tetromino Exp $
4
5 EAPI="4"
6 GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
7
8 inherit gnome.org
9
10 DESCRIPTION="NetworkManager PPTP plugin"
11 HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
12
13 LICENSE="GPL-2+"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE="gtk"
17
18 RDEPEND="
19 >=net-misc/networkmanager-${PV}
20 >=dev-libs/dbus-glib-0.74
21 net-dialup/ppp
22 net-dialup/pptpclient
23 gtk? (
24 >=x11-libs/gtk+-2.91.4:3
25 gnome-base/gnome-keyring
26 )"
27
28 DEPEND="${RDEPEND}
29 sys-devel/gettext
30 dev-util/intltool
31 virtual/pkgconfig"
32
33 src_prepare() {
34 # Drop DEPRECATED flags, bug #385503
35 sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
36 auth-dialog/Makefile.am auth-dialog/Makefile.in \
37 properties/Makefile.am properties/Makefile.in \
38 src/Makefile.am src/Makefile.in || die
39 }
40
41 src_configure() {
42 ECONF="--disable-more-warnings
43 --disable-static
44 --with-dist-version=Gentoo
45 --with-gtkver=3
46 $(use_with gtk gnome)"
47
48 econf ${ECONF}
49 }
50
51 src_install() {
52 default
53 # Remove useless .la files
54 find "${D}" -name '*.la' -exec rm -f {} +
55 }

  ViewVC Help
Powered by ViewVC 1.1.20