/[gentoo-x86]/net-misc/batmand/batmand-0.2.0.ebuild
Gentoo

Contents of /net-misc/batmand/batmand-0.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Jan 17 14:40:19 2009 UTC (10 years, 10 months ago) by cedk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Fix SRC_URI and HOMEPAGE for bug #254901 and remove old
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-hardened-r3 i686)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/batmand/batmand-0.2.0.ebuild,v 1.3 2008/02/20 10:53:27 cedk Exp $
4
5 inherit eutils toolchain-funcs
6
7 MY_PV="0.2-rv451_sources"
8
9 DESCRIPTION="Better approach to mobile Ad-Hoc networking"
10 HOMEPAGE="http://open-mesh.net/batman"
11 SRC_URI="http://downloads.open-mesh.net/batman/stable/sources/${PN}_${MY_PV}.tgz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND=""
20
21 S=${WORKDIR}/${PN}_${MY_PV}
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26
27 sed -i \
28 -e "s/CFLAGS =.*-Wall -O1 -g3/CFLAGS += -Wall/" \
29 -e "s/LDFLAGS =/LDFLAGS +=/" \
30 Makefile || die "sed failed"
31 }
32
33 src_compile() {
34 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
35 }
36
37 src_install() {
38 dosbin batmand
39
40 newinitd "${FILESDIR}"/batmand-init.d batmand
41 newconfd "${FILESDIR}"/batmand-conf.d batmand
42
43 dodoc CHANGELOG
44 }

  ViewVC Help
Powered by ViewVC 1.1.20