/[gentoo-x86]/net-misc/batctl/batctl-2013.3.0.ebuild
Gentoo

Contents of /net-misc/batctl/batctl-2013.3.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Jul 23 22:14:32 2014 UTC (5 years, 6 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump (thanks Antonio Quartulli, bug 502230), drop old versions.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)

1 xmw 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 xmw 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/batctl-2013.3.0.ebuild,v 1.1 2013/08/05 05:39:51 xmw Exp $
4 xmw 1.1
5     EAPI=4
6    
7     inherit linux-info toolchain-funcs
8    
9     DESCRIPTION="BATMAN advanced control and management tool"
10     HOMEPAGE="http://www.open-mesh.org/"
11     SRC_URI="http://downloads.open-mesh.org/batman/stable/sources/${PN}/${P}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15     KEYWORDS="~amd64 ~x86"
16     IUSE=""
17    
18     DEPEND=""
19     RDEPEND=""
20    
21     pkg_setup() {
22     if ( linux_config_exists && linux_chkconfig_present BATMAN_ADV ) \
23     || ! has_version net-misc/batman-adv ; then
24     ewarn "You need the batman-adv kernel module,"
25     ewarn "either from the kernel tree or via net-misc/batman-adv"
26     fi
27     }
28    
29     src_compile() {
30     emake CC="$(tc-getCC)" V=1 REVISION=gentoo-"${PVR}"
31     }
32    
33     src_install() {
34     emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
35     dodoc README
36     }

  ViewVC Help
Powered by ViewVC 1.1.20