summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2011-11-15 22:16:26 +0000
committerMichael Weber <xmw@gentoo.org>2011-11-15 22:16:26 +0000
commitc47afc3c1f2e6d5d1858065e7841d6e3bd04fac4 (patch)
tree1444b9a32d733491964ff004c9dbbe9fa1507c5f /net-misc/batctl
parentVersion bump. (diff)
downloadgentoo-2-c47afc3c1f2e6d5d1858065e7841d6e3bd04fac4.tar.gz
gentoo-2-c47afc3c1f2e6d5d1858065e7841d6e3bd04fac4.tar.bz2
gentoo-2-c47afc3c1f2e6d5d1858065e7841d6e3bd04fac4.zip
Version bump (thanks Franz Schrober, bug 390539)
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/batctl')
-rw-r--r--net-misc/batctl/ChangeLog7
-rw-r--r--net-misc/batctl/batctl-2011.4.0.ebuild36
2 files changed, 42 insertions, 1 deletions
diff --git a/net-misc/batctl/ChangeLog b/net-misc/batctl/ChangeLog
index 838ee63477ff..80a9fd4a737e 100644
--- a/net-misc/batctl/ChangeLog
+++ b/net-misc/batctl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/batctl
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/ChangeLog,v 1.4 2011/11/15 22:11:40 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/ChangeLog,v 1.5 2011/11/15 22:16:26 xmw Exp $
+
+*batctl-2011.4.0 (15 Nov 2011)
+
+ 15 Nov 2011; Michael Weber <xmw@gentoo.org> +batctl-2011.4.0.ebuild:
+ Version bump (thanks Franz Schrober, bug 390539)
15 Nov 2011; Michael Weber <xmw@gentoo.org> batctl-2011.3.0.ebuild:
Fix installation (Makefile changes), EAPI-4 (thanks Franz Schrober, bug
diff --git a/net-misc/batctl/batctl-2011.4.0.ebuild b/net-misc/batctl/batctl-2011.4.0.ebuild
new file mode 100644
index 000000000000..a6ad1223ea7a
--- /dev/null
+++ b/net-misc/batctl/batctl-2011.4.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/batctl-2011.4.0.ebuild,v 1.1 2011/11/15 22:16:26 xmw Exp $
+
+EAPI=4
+
+inherit linux-info toolchain-funcs
+
+DESCRIPTION="BATMAN advanced control and management tool"
+HOMEPAGE="http://www.open-mesh.org/"
+SRC_URI="http://downloads.open-mesh.org/batman/stable/sources/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+pkg_setup() {
+ if ( linux_config_exists && linux_chkconfig_present BATMAN_ADV ) \
+ || ! has_version net-misc/batman-adv ; then
+ ewarn "You need the batman-adv kernel module,"
+ ewarn "either from the kernel tree or via net-misc/batman-adv"
+ fi
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" V=1 REVISION=gentoo-"${PVR}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+ dodoc README
+}