/[gentoo-x86]/net-misc/batman-vis/batman-vis-0.3.2.ebuild
Gentoo

Contents of /net-misc/batman-vis/batman-vis-0.3.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Jun 16 11:57:30 2012 UTC (7 years, 7 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove package.

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/batman-vis/batman-vis-0.3.2.ebuild,v 1.2 2011/05/22 23:32:08 xmw Exp $
4
5 EAPI=3
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="BATMAN visualization server for the net-misc/batmand server"
10 HOMEPAGE="http://www.open-mesh.org/"
11 MY_P=${P/batman-/}
12 SRC_URI="
13 http://downloads.open-mesh.org/batman/stable/sources/${PN/batman-/}/${MY_P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19
20 DEPEND=""
21 RDEPEND=""
22
23 S=${WORKDIR}/${MY_P}
24
25 src_prepare() {
26 sed -e "/^CFLAGS/s: -O[^[:space:]]* : :" \
27 -e "/^CFLAGS/s: -g[^[:space:]]* : :" \
28 -e "s: -j \$(NUM_CPUS) : :" \
29 -i Makefile || die
30 }
31
32 src_compile() {
33 emake CC="$(tc-getCC)" V=1 BINARY_NAME=${PN} || die
34 }
35
36 src_install() {
37 emake INSTALL_PREFIX="${D}" BINARY_NAME=${PN} install || die
38
39 newinitd "${FILESDIR}"/${PN}-init.d ${PN} || die
40 newconfd "${FILESDIR}"/${PN}-conf.d ${PN} || die
41
42 dodoc README || die
43 }

  ViewVC Help
Powered by ViewVC 1.1.20