summaryrefslogtreecommitdiff
path: root/packages/redfang
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2005-11-27 22:21:53 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-11-27 22:21:53 +0000
commit6e15ab4823c4ff04d89e742be799c0b99b42737c (patch)
tree9f6fe98d8e3f822335183e331ba6377ce2de3dff /packages/redfang
parent9874021e7ce22025458687fe59a4f1a6a31c5adb (diff)
redfang: New package contributed by Bob Davies
Diffstat (limited to 'packages/redfang')
-rw-r--r--packages/redfang/.mtn2git_empty0
-rw-r--r--packages/redfang/files/.mtn2git_empty0
-rw-r--r--packages/redfang/files/Makefile.patch18
-rw-r--r--packages/redfang/redfang.bb22
4 files changed, 40 insertions, 0 deletions
diff --git a/packages/redfang/.mtn2git_empty b/packages/redfang/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/redfang/.mtn2git_empty
diff --git a/packages/redfang/files/.mtn2git_empty b/packages/redfang/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/redfang/files/.mtn2git_empty
diff --git a/packages/redfang/files/Makefile.patch b/packages/redfang/files/Makefile.patch
new file mode 100644
index 0000000000..1810127cf3
--- /dev/null
+++ b/packages/redfang/files/Makefile.patch
@@ -0,0 +1,18 @@
+--- Makefile 2005-11-23 10:43:27.000000000 -0500
++++ Makefile.new 2005-11-23 10:42:20.000000000 -0500
+@@ -3,12 +3,13 @@
+
+ DEPS=list.h
+
+-LIBS=-lbluetooth -lpthread
++#LIBS=-lbluetooth -lpthread
++LIBS=$(LDFLAGS)
+
+ all: $(EXE)
+
+ $(EXE): $(OBJ) $(DEPS)
+- cc -o $(EXE) $(OBJ) $(LIBS)
++ $(CC) -o $(EXE) $(OBJ) $(LIBS)
+
+ clean:
+ rm -f $(EXE) $(OBJ) *~
diff --git a/packages/redfang/redfang.bb b/packages/redfang/redfang.bb
new file mode 100644
index 0000000000..ed1c4c270a
--- /dev/null
+++ b/packages/redfang/redfang.bb
@@ -0,0 +1,22 @@
+SECTION = "unknown"
+SRC_URI = "http://packetstormsecurity.org/wireless/redfang.2.5.tar.gz \
+ file://Makefile.patch;patch=1;pnum=0"
+
+DEFAULT_PREFERENCE="-1"
+PV="2.5"
+
+CFLAGS_prepend = "-I${STAGING_INCDIR}/bluetooth"
+
+LDFLAGS_prepend = "-L${STAGING_LIBDIR} -lbluetooth -lpthread "
+
+S = "${WORKDIR}/redfang-2.5"
+LICENSE = "GPL"
+do_compile() {
+ oe_runmake all
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 ${S}/fang ${D}${bindir}
+}
+