Merge branch 'org.openembedded.dev' of git://git.openembedded.net/openembedded into...
[openembedded.git] / recipes / mrouted / mrouted.bb
1 DESCRIPTION = "Mrouted daemon" 
2 PV = "3.9-beta3" 
3 PR = "r0" 
4 PN = "mrouted" 
5 PACKAGES = "mrouted" 
6 SRC_URI = "ftp://archive.debian.org/debian-archive/pool/non-free/m/mrouted/mrouted_${PV}.orig.tar.gz \
7         file://mrouted-3.9.diff;patch=1"
8
9 S = "${WORKDIR}/mrouted-${PV}.orig"
10
11 inherit autotools pkgconfig
12
13 bindir = "/usr/bin"
14 sbindir = "/usr/sbin"
15
16 do_compile_prepend() {
17         if ! test -f ${S}/y.y; then \
18                 mv ${S}/cfparse.y y.y; \
19         fi;
20 }
21
22 do_install_append() {
23         install -d ${D}/usr/bin
24         for i in mrinfo map-mbone mrouted; do \
25                 install ${S}/$i ${D}/usr/bin; \
26         done;
27 }