libnl: add 1.0-pre6 based on an earlier version by Milan Plzik
authorFlorian Boor <florian.boor@kernelconcepts.de>
Thu, 24 Aug 2006 16:20:21 +0000 (16:20 +0000)
committerFlorian Boor <florian.boor@kernelconcepts.de>
Thu, 24 Aug 2006 16:20:21 +0000 (16:20 +0000)
packages/libnl/.mtn2git_empty [new file with mode: 0644]
packages/libnl/files/.mtn2git_empty [new file with mode: 0644]
packages/libnl/files/local-includes.patch [new file with mode: 0644]
packages/libnl/libnl_1.0-pre6.bb [new file with mode: 0644]

diff --git a/packages/libnl/.mtn2git_empty b/packages/libnl/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/libnl/files/.mtn2git_empty b/packages/libnl/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/libnl/files/local-includes.patch b/packages/libnl/files/local-includes.patch
new file mode 100644 (file)
index 0000000..5af4630
--- /dev/null
@@ -0,0 +1,11 @@
+--- libnl-1.0-pre6/Makefile.opts.in.orig       2006-08-24 14:57:42.000000000 +0200
++++ libnl-1.0-pre6/Makefile.opts.in    2006-08-24 14:58:20.000000000 +0200
+@@ -10,7 +10,7 @@
+ #
+ CC               := @CC@
+-CFLAGS           := @CFLAGS@
++CFLAGS           := -I./include -I. -I../include @CFLAGS@
+ LDFLAGS          := @LDFLAGS@
+ CPPFLAGS         := @CPPFLAGS@
+ PACKAGE_NAME     := @PACKAGE_NAME@
diff --git a/packages/libnl/libnl_1.0-pre6.bb b/packages/libnl/libnl_1.0-pre6.bb
new file mode 100644 (file)
index 0000000..3851c56
--- /dev/null
@@ -0,0 +1,25 @@
+DESCRIPTION = "libnl is a library for applications dealing with netlink sockets"
+SECTION = "libs/network"
+LICENSE = "LGPL"
+HOMEPAGE = "http://people.suug.ch/~tgr/libnl/"
+MAINTAINER = "Milan Plzik <mmp@handhelds.org>"
+PRIORITY = "optional"
+DEPENDS = "glibc"
+
+inherit autotools pkgconfig gpe
+
+SRC_URI= "http://people.suug.ch/~tgr/libnl/files/${P}.tar.gz \
+           file://local-includes.patch;patch=1"
+
+do_install() {
+        oe_runmake prefix=${prefix} DESTDIR=${D} install
+}
+
+do_stage () {
+       autotools_stage_all prefix=${prefix}
+}
+
+do_install () {
+       oe_runmake prefix=${prefix} DESTDIR=${D} install
+}
+