diff options
author | Philip Balister <philip@balister.org> | 2009-02-13 14:12:17 -0500 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2009-02-13 14:12:17 -0500 |
commit | 36001a65d7eb5f4432b999d24c29501834a3b431 (patch) | |
tree | 4beab7721b8e7b2ff6925c3aa6ee35aeea4c50d5 /packages/nrlolsr/nrlolsr_7.8.1.bb | |
parent | 23ee9957ca34b70edfa53aa6f4eb6776a45ac880 (diff) |
nrlolsr : Add recipe for nrlolsr. Need for http://www.maniacchallenge.org contest.
Diffstat (limited to 'packages/nrlolsr/nrlolsr_7.8.1.bb')
-rw-r--r-- | packages/nrlolsr/nrlolsr_7.8.1.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/nrlolsr/nrlolsr_7.8.1.bb b/packages/nrlolsr/nrlolsr_7.8.1.bb new file mode 100644 index 0000000000..3fa5e2f4df --- /dev/null +++ b/packages/nrlolsr/nrlolsr_7.8.1.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "NRL OLSR - added to OE to support the Maniac Challenge (http://www.maniacchallenge.org/)" +SECTION = "applications" +LICENSE = "Public Domain" + +S="${WORKDIR}/nrlolsr/" + +SRC_URI = "http://downloads.pf.itd.nrl.navy.mil/olsr/nrlolsrdv7.8.1.tgz \ + file://nrlolsr-cross.patch;patch=1 \ + " + +do_compile () { + cd ${S}/unix + + sed -i -e 's:-I/usr/X11R6/include:-I${STAGING_INCDIR}:g' Makefile.linux + sed -i -e 's:-L/usr/X11R6/lib:-L${STAGING_LIBDIR}:g' Makefile.linux + sed -i -e 's:/usr/local/bin:${STAGING_BINDIR}:g' Makefile.linux + sed -i -e 's:make -f Makefile:make -e -f Makefile:g' Makefile.common + +# EXTRA_OEMAKE="-f Makefile.linux" + oe_runmake -f Makefile.linux + +} + +do_install () { + install -d ${D}/${bindir} + install unix/nrlolsrd ${D}/${bindir} +} |