summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc/knetworkmanager/knetworkmanager-0.7_pre20080915.ebuild')
-rw-r--r--kde-misc/knetworkmanager/knetworkmanager-0.7_pre20080915.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/kde-misc/knetworkmanager/knetworkmanager-0.7_pre20080915.ebuild b/kde-misc/knetworkmanager/knetworkmanager-0.7_pre20080915.ebuild
new file mode 100644
index 0000000..f4b91d0
--- /dev/null
+++ b/kde-misc/knetworkmanager/knetworkmanager-0.7_pre20080915.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/knetworkmanager-0.2.2_p20080528.ebuild,v 1.1 2008/06/24 17:55:41 rbu Exp $
+
+inherit kde eutils
+
+MY_PV="${PV}"
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="A KDE frontend for NetworkManager"
+HOMEPAGE="http://en.opensuse.org/Projects/KNetworkManager"
+LICENSE="GPL-2"
+#SRC_URI="ftp://ftp.kde.org/pub/kde/stable/apps/KDE3.x/network/${P}.tar.bz2"
+SRC_URI="http://dev.gentoo.org/~rbu/distfiles/${MY_P}.tar.bz2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="vpnc openvpn pptp dialup"
+
+
+DEPEND=">=net-misc/networkmanager-0.7.0_pre20080831
+ >=sys-apps/dbus-1.2
+ =kde-base/kdelibs-3.5*
+ >=sys-apps/hal-0.5.10
+ >=net-wireless/wireless-tools-28_pre9
+ >=dev-libs/libnl-1.1
+ >=dev-libs/dbus-qt3-0.9
+ vpnc? ( >=net-misc/networkmanager-vpnc-0.7.0_pre20080822 )
+ openvpn? ( >=net-misc/networkmanager-openvpn-0.7.0_pre20080822 )
+ pptp? ( >=net-misc/networkmanager-pptp-0.7.0_pre20080822 )
+ dialup? ( || ( =kde-base/kppp-3.5* =kde-base/kdenetwork-3.5* ) )"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ set-kdedir
+ export PREFIX="${KDEDIR}"
+ local myconf="$(use_with vpnc vpnc) \
+ $(use_with openvpn) \
+ $(use_with pptp) \
+ $(use_with dialup) \
+ --with-distro=gentoo --disable-rpath"
+ kde_src_compile
+}
+
+src_install() {
+ kde_src_install
+
+ # kde.eclass sets sysconfdir too weird for us, delete conf from there and reinstall to /etc
+ set-kdedir
+ rm -rf "${D}/${KDEDIR}/etc"
+ insinto /etc/dbus-1/system.d/
+ doins knetworkmanager/knetworkmanager.conf
+}