summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2009-04-22 14:22:09 +0000
committerRobert Buchholz <rbu@gentoo.org>2009-04-22 14:22:09 +0000
commitc54174cdfb2a239adfca5022aeb8def0d702008c (patch)
tree7b6cd142e2cfe7471eba93accc7b85c4619beff5 /net-misc/networkmanager-pptp/networkmanager-pptp-0.7.1.ebuild
parent Version bump by Robert Piasek (bug #266182). Add hard dependency on (diff)
downloadgentoo-2-c54174cdfb2a239adfca5022aeb8def0d702008c.tar.gz
gentoo-2-c54174cdfb2a239adfca5022aeb8def0d702008c.tar.bz2
gentoo-2-c54174cdfb2a239adfca5022aeb8def0d702008c.zip
Version bump by Robert Piasek (bugs 266184 and 266606).
Hard-code NM minor dependency, and fix description in 0.1 ebuild (bug 202203). (Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/networkmanager-pptp/networkmanager-pptp-0.7.1.ebuild')
-rw-r--r--net-misc/networkmanager-pptp/networkmanager-pptp-0.7.1.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/net-misc/networkmanager-pptp/networkmanager-pptp-0.7.1.ebuild b/net-misc/networkmanager-pptp/networkmanager-pptp-0.7.1.ebuild
new file mode 100644
index 000000000000..cd39d373d3ef
--- /dev/null
+++ b/net-misc/networkmanager-pptp/networkmanager-pptp-0.7.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-pptp/networkmanager-pptp-0.7.1.ebuild,v 1.1 2009/04/22 14:22:09 rbu Exp $
+
+EAPI=2
+inherit eutils versionator
+
+# NetworkManager likes itself with capital letters
+MY_P=${P/networkmanager/NetworkManager}
+MYPV_MINOR=$(get_version_component_range 1-2)
+
+DESCRIPTION="NetworkManager PPTP plugin."
+HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
+SRC_URI="mirror://gnome/sources/NetworkManager-pptp/0.7/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm ~amd64 ~ppc ~x86"
+IUSE="gnome"
+
+RDEPEND="
+ =net-misc/networkmanager-${MYPV_MINOR}*
+ gnome? (
+ >=gnome-base/gconf-2.20
+ >=gnome-base/gnome-keyring-2.20
+ >=gnome-base/libglade-2
+ >=gnome-base/libgnomeui-2.20
+ >=x11-libs/gtk+-2.10
+ )"
+
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ ECONF="--disable-more-warnings \
+ $(use_with gnome)"
+
+ econf ${ECONF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
+}