aboutsummaryrefslogtreecommitdiffstats
path: root/packages/mrouted/mrouted.bb
blob: a7650e1418bc004bb2f0736a7b4b60040119b64f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DESCRIPTION = "Mrouted daemon" 
MAINTAINER = "Andreas Monzner <ghost@dream-multimedia-tv.de>"
LICENSE = "GPL" 
PV = "3.9-beta3" 
PR = "r0" 
PN = "mrouted" 
PACKAGES = "mrouted" 
SRC_URI = "ftp://ftp.debian.org/debian/pool/non-free/m/mrouted/mrouted_${PV}.orig.tar.gz \
	file://mrouted-3.9.diff;patch=1"

S = "${WORKDIR}/mrouted-${PV}.orig"

inherit autotools pkgconfig

bindir = "/usr/bin"
sbindir = "/usr/sbin"

do_compile_prepend() {
	if ! test -f ${S}/y.y; then \
		mv ${S}/cfparse.y y.y; \
	fi;
}

do_install_append() {
	install -d ${D}/usr/bin
	for i in mrinfo map-mbone mrouted; do \
		install ${S}/$i ${D}/usr/bin; \
	done;
}