[oe-commits] org.oe.dev batmand 0.3: New recipe (this time for real).
thebohemian commit
oe at amethyst.openembedded.net
Thu May 15 22:27:57 UTC 2008
batmand 0.3: New recipe (this time for real).
Author: thebohemian at openembedded.org
Branch: org.openembedded.dev
Revision: 47b76447b7c2487688f831149bc94872f6e96c44
ViewMTN: http://monotone.openembedded.org/revision/info/47b76447b7c2487688f831149bc94872f6e96c44
Files:
1
packages/batmand/files
packages/batmand/batmand_0.3.bb
packages/batmand/files/makefile-fix.patch
Diffs:
#
# mt diff -rb0ae8d7e97486b45257d7443b82c3e7bd318a2a9 -r47b76447b7c2487688f831149bc94872f6e96c44
#
#
#
# add_dir "packages/batmand/files"
#
# add_file "packages/batmand/batmand_0.3.bb"
# content [7eafc40067a851d0050bb0cdf53c40881deb6cae]
#
# add_file "packages/batmand/files/makefile-fix.patch"
# content [03373e8bfdcf77fbe0e93f5d830041b0cfeec1db]
#
============================================================
--- packages/batmand/batmand_0.3.bb 7eafc40067a851d0050bb0cdf53c40881deb6cae
+++ packages/batmand/batmand_0.3.bb 7eafc40067a851d0050bb0cdf53c40881deb6cae
@@ -0,0 +1,29 @@
+DESCRIPTION = "Routing protocol daemon for multi-hop ad-hoc mesh networks."
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "GPL"
+HOMEPAGE = "https://www.open-mesh.net/batman"
+
+PR = "r0"
+
+RDEPENDS = "kernel-module-tun"
+
+SRC_URI = "\
+ http://downloads.open-mesh.net/batman/stable/sources/batman-0.3.tar.gz \
+ file://makefile-fix.patch;patch=1 \
+ "
+
+S = "${WORKDIR}/batman-${PV}"
+
+do_compile() {
+ oe_runmake
+}
+
+do_stage() {
+ :
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 batmand ${D}${bindir}
+}
============================================================
--- packages/batmand/files/makefile-fix.patch 03373e8bfdcf77fbe0e93f5d830041b0cfeec1db
+++ packages/batmand/files/makefile-fix.patch 03373e8bfdcf77fbe0e93f5d830041b0cfeec1db
@@ -0,0 +1,13 @@
+Index: batman-0.3/Makefile
+===================================================================
+--- batman-0.3.orig/Makefile 2008-05-15 19:09:47.000000000 +0200
++++ batman-0.3/Makefile 2008-05-15 21:01:14.000000000 +0200
+@@ -17,8 +17,6 @@
+ #
+
+
+-CC = gcc
+-CFLAGS = -Wall -O1 -g3
+ EXTRA_CFLAGS = -DDEBUG_MALLOC -DMEMORY_USAGE -DPROFILE_DATA -DREVISION_VERSION=$(REVISION_VERSION)
+ LDFLAGS = -lpthread
+
More information about the Openembedded-commits
mailing list