summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2009-07-24 12:15:01 +0530
committerNirbheek Chauhan <nirbheek@gentoo.org>2009-07-24 12:15:01 +0530
commita0ecbb8acf0eb65336eca3810770270530c5c2c9 (patch)
tree020d33d5b9b6ee637156e4ebeac6638e0ee57e37
parentAdded to tree by someone (diff)
downloadnirbheek-a0ecbb8acf0eb65336eca3810770270530c5c2c9.tar.gz
nirbheek-a0ecbb8acf0eb65336eca3810770270530c5c2c9.tar.bz2
nirbheek-a0ecbb8acf0eb65336eca3810770270530c5c2c9.zip
Add net-misc/cnetworkmanager-0.8.4
-rw-r--r--net-misc/cnetworkmanager/Manifest2
-rw-r--r--net-misc/cnetworkmanager/cnetworkmanager-0.8.4.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/net-misc/cnetworkmanager/Manifest b/net-misc/cnetworkmanager/Manifest
new file mode 100644
index 0000000..499f955
--- /dev/null
+++ b/net-misc/cnetworkmanager/Manifest
@@ -0,0 +1,2 @@
+DIST cnetworkmanager-0.8.4.tar.gz 23829 RMD160 156ba265d3a38fbba7b27e71b6b1f1c30de97d33 SHA1 abd88dbfa50e1a6bf8466aad1e836a65c15f2974 SHA256 2e035c1659f42d2f20976442c447fa44eef693bcc363404a448b5616a82dea9d
+EBUILD cnetworkmanager-0.8.4.ebuild 912 RMD160 3b98d25bf73c44b15011c692cc37c957425de3f3 SHA1 aef8f688f025beeee3bb3752fd0f4aa24169a913 SHA256 882d840104dffd0d01a0af720e5099c6fab4cc9a9b5f65cebbf45aa3fe02e6f3
diff --git a/net-misc/cnetworkmanager/cnetworkmanager-0.8.4.ebuild b/net-misc/cnetworkmanager/cnetworkmanager-0.8.4.ebuild
new file mode 100644
index 0000000..a4dc274
--- /dev/null
+++ b/net-misc/cnetworkmanager/cnetworkmanager-0.8.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit python
+
+EAPI="2"
+
+DESCRIPTION="Command-line client for NetworkManager"
+HOMEPAGE="http://vidner.net/martin/software/cnetworkmanager/"
+SRC_URI="http://vidner.net/martin/software/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=dev-lang/python-2.5[xml]
+ dev-python/pygobject
+ dev-python/dbus-python"
+
+src_compile() {
+ sed -e '/docdir/d' -i Makefile || die "Sed failed"
+ emake DESTDIR=${D} PREFIX=/usr sysconfdir=/etc || die "emake failed"
+}
+
+src_install() {
+ insinto "$(python_get_sitedir)"
+ doins pbkdf2.py
+ dobin cnetworkmanager
+ dodoc NEWS README
+}
+
+pkg_postinst() {
+ python_need_rebuild
+ python_mod_optimize "$(python_get_sitedir)/pbkdf2.py"
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/pbkdf2.py
+}