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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jul 14 10:49:29 2007 UTC (12 years, 4 months ago) by cedk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Add patch to fix hashing
(Portage version: 2.1.2.9)

1 # Copyright 1999-2007 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.1.ebuild,v 1.1 2007/07/06 11:46:31 cedk 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/${PV%.*}/${P}.tar.bz2"
10
11 SLOT="0"
12 LICENSE="BSD"
13 KEYWORDS="~x86"
14 IUSE="gtk"
15
16 DEPEND="gtk? ( =x11-libs/gtk+-2* )"
17
18 src_compile() {
19 cd "${S}"
20 emake OS=linux CC=$(tc-getCC) build_all || die "emake failed"
21
22 if use gtk ; then
23 cd "${S}/gui/linux-gtk"
24 einfo "Building GUI ..."
25 emake CC=$(tc-getCC) || die "emake failed"
26 fi
27 }
28
29 src_install() {
30 emake OS=linux DESTDIR="${D}" STRIP=true install_all || die "emake install_all failed"
31
32 if use gtk; then
33 cd "${S}/gui/linux-gtk"
34 emake DESTDIR="${D}" install || die "emake install failed"
35 fi
36
37 doinitd "${FILESDIR}/olsrd"
38
39 cd "${S}"
40 dodoc CHANGELOG features.txt README README-Olsr-Switch.html \
41 README-FreeBSD-libnet README-Link-Quality-Fish-Eye.txt \
42 README-Link-Quality.html files/olsrd.conf.default.rfc \
43 files/olsrd.conf.default.lq lib/bmf/README_BMF.txt \
44 lib/dyn_gw/README_DYN_GW lib/dyn_gw_plain/README_DYN_GW_PLAIN \
45 lib/dot_draw/README_DOT_DRAW lib/httpinfo/README_HTTPINFO \
46 lib/mini/README_MINI lib/nameservice/README_NAMESERVICE \
47 lib/pgraph/README_PGRAPH lib/quagga/README_QUAGGA \
48 lib/secure/README_SECURE lib/txtinfo/README_TXTINFO
49 }

  ViewVC Help
Powered by ViewVC 1.1.20