diff options
author | Matthias Hentges <oe@hentges.net> | 2007-03-03 21:29:59 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2007-03-03 21:29:59 +0000 |
commit | ef848fc955f0976a1ea6ac9a3cae4b97f640eaa9 (patch) | |
tree | e645985177e3f4fe8631a015cfb5ebaf7e9bb8fa | |
parent | 369578552dc4041e5a758b6efe85b34b3a58f167 (diff) |
mdk: Add new .bb from Bugzilla, courtesy of Rick Farina. Closing bug #1934. Thanks!
-rw-r--r-- | packages/mdk/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/mdk/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/mdk/files/mdk2-ppcfix.patch | 12 | ||||
-rw-r--r-- | packages/mdk/mdk2_v33.bb | 23 |
4 files changed, 35 insertions, 0 deletions
diff --git a/packages/mdk/.mtn2git_empty b/packages/mdk/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mdk/.mtn2git_empty diff --git a/packages/mdk/files/.mtn2git_empty b/packages/mdk/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mdk/files/.mtn2git_empty diff --git a/packages/mdk/files/mdk2-ppcfix.patch b/packages/mdk/files/mdk2-ppcfix.patch new file mode 100644 index 0000000000..b9d86b6ae1 --- /dev/null +++ b/packages/mdk/files/mdk2-ppcfix.patch @@ -0,0 +1,12 @@ +Only in mdk2-v33-ppcfix: mdk2 +diff -ur mdk2-v33/mdk2.c mdk2-v33-ppcfix/mdk2.c +--- mdk2-v33/mdk2.c 2007-02-22 13:39:43.000000000 -0500 ++++ mdk2-v33-ppcfix/mdk2.c 2007-03-03 15:56:50.000000000 -0500 +@@ -7,6 +7,7 @@ + #include <sys/ioctl.h> + #include <netpacket/packet.h> + #include <linux/if_ether.h> ++#include <linux/if.h> + #include <linux/wireless.h> + #include <unistd.h> + #include <string.h> diff --git a/packages/mdk/mdk2_v33.bb b/packages/mdk/mdk2_v33.bb new file mode 100644 index 0000000000..bd665e2ccd --- /dev/null +++ b/packages/mdk/mdk2_v33.bb @@ -0,0 +1,23 @@ +SECTION = "console/network" +DESCRIPTION = "ASPj is drunk" +HOMEPAGE = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/" +LICENSE = "GPLv2" +MAINTAINER = "Zero_Chaos <sidhayn@gmail.com>" +DEPENDS = "" +RDEPENDS = "" +PR="r1" + +SRC_URI = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/mdk2-${PV}.tar.bz2 \ + file://mdk2-ppcfix.patch" + +LDFLAGS_append = " -lpthread" +CFLAGS_append = " -I${STAGING_KERNEL_DIR}/include -O3 -pthread" + +oe_compile() { + oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LD="${LD}" LDFLAGS="${LDFLAGS}" +} + +do_install() { + install -d ${D}/${sbindir} + install -m 0755 mdk2 ${D}/${sbindir} +} |