diff options
author | Michael Weber <xmw@gentoo.org> | 2012-04-17 02:34:26 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2012-04-17 02:34:26 +0000 |
commit | b8a395e186eb66f971b8cdee39a8d65bb1b8072e (patch) | |
tree | 51daadb7f150af36beb832c989a46a4f337211de /net-misc/batctl/batctl-2012.1.0.ebuild | |
parent | Set wxwidgets as maintainer. (diff) | |
download | gentoo-2-b8a395e186eb66f971b8cdee39a8d65bb1b8072e.tar.gz gentoo-2-b8a395e186eb66f971b8cdee39a8d65bb1b8072e.tar.bz2 gentoo-2-b8a395e186eb66f971b8cdee39a8d65bb1b8072e.zip |
Remove old versions, version bump (thanks Franz Schrober, bug 412143)
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/batctl/batctl-2012.1.0.ebuild')
-rw-r--r-- | net-misc/batctl/batctl-2012.1.0.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-misc/batctl/batctl-2012.1.0.ebuild b/net-misc/batctl/batctl-2012.1.0.ebuild new file mode 100644 index 000000000000..3f7db13550e0 --- /dev/null +++ b/net-misc/batctl/batctl-2012.1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/batctl-2012.1.0.ebuild,v 1.1 2012/04/17 02:34: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 +} |