/[gentoo-x86]/net-misc/olsrd/olsrd-0.5.6.ebuild
Gentoo

Contents of /net-misc/olsrd/olsrd-0.5.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Oct 9 16:52:38 2011 UTC (7 years, 11 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Old.

(Portage version: 2.2.0_alpha64/cvs/Linux x86_64)

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/olsrd/olsrd-0.5.6.ebuild,v 1.2 2008/10/27 20:30:12 maekke Exp $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="An implementation of the Optimized Link State Routing protocol"
8 HOMEPAGE="http://www.olsr.org/"
9 SRC_URI="http://www.olsr.org/releases/0.5/${P}.tar.bz2"
10
11 SLOT="0"
12 LICENSE="BSD"
13 KEYWORDS="amd64 x86"
14 IUSE="gtk"
15 DEPEND="gtk? ( =x11-libs/gtk+-2* )"
16
17 src_unpack() {
18 unpack ${A}
19 cd "${S}"
20 epatch "${FILESDIR}/${PN}-0.5.5-build_fix.patch"
21 }
22
23 src_compile() {
24 emake OS=linux CC="$(tc-getCC)" build_all || die "emake failed"
25
26 if use gtk ; then
27 cd "${S}/gui/linux-gtk"
28 einfo "Building GUI ..."
29 emake CC="$(tc-getCC)" || die "emake failed"
30 fi
31 }
32
33 src_install() {
34 emake OS=linux DESTDIR="${D}" STRIP=true install_all || die "emake install_all failed"
35
36 if use gtk; then
37 cd "${S}/gui/linux-gtk"
38 emake DESTDIR="${D}" install || die "emake install failed"
39 fi
40
41 doinitd "${FILESDIR}/olsrd"
42
43 cd "${S}"
44 dodoc CHANGELOG features.txt README README-Olsr-Switch.html \
45 README-FreeBSD-libnet README-Link-Quality-Fish-Eye.txt \
46 README-Link-Quality.html valgrind-howto.txt files/olsrd.conf.default.rfc \
47 files/olsrd.conf.default.lq files/olsrd.conf.default.lq-fisheye \
48 lib/arprefresh/README_ARPREFRESH \
49 lib/bmf/README_BMF.txt \
50 lib/dot_draw/README_DOT_DRAW \
51 lib/dyn_gw/README_DYN_GW \
52 lib/dyn_gw_plain/README_DYN_GW_PLAIN \
53 lib/httpinfo/README_HTTPINFO \
54 lib/mini/README_MINI \
55 lib/nameservice/README_NAMESERVICE \
56 lib/pgraph/README_PGRAPH \
57 lib/quagga/README_QUAGGA \
58 lib/secure/README_SECURE \
59 lib/txtinfo/README_TXTINFO
60 }

  ViewVC Help
Powered by ViewVC 1.1.20