Add libnl, a dependency of network manager (from OE)
authorRoss Burton <ross@openedhand.com>
Fri, 19 Jan 2007 16:05:31 +0000 (16:05 +0000)
committerRoss Burton <ross@openedhand.com>
Fri, 19 Jan 2007 16:05:31 +0000 (16:05 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1169 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta-extras/packages/libnl/files/local-includes.patch [new file with mode: 0644]
meta-extras/packages/libnl/libnl_1.0-pre6.bb [new file with mode: 0644]

diff --git a/meta-extras/packages/libnl/files/local-includes.patch b/meta-extras/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/meta-extras/packages/libnl/libnl_1.0-pre6.bb b/meta-extras/packages/libnl/libnl_1.0-pre6.bb
new file mode 100644 (file)
index 0000000..300222c
--- /dev/null
@@ -0,0 +1,18 @@
+DESCRIPTION = "libnl is a library for applications dealing with netlink sockets"
+SECTION = "libs/network"
+LICENSE = "LGPL"
+HOMEPAGE = "http://people.suug.ch/~tgr/libnl/"
+PRIORITY = "optional"
+PV = "0.99+1.0-pre6"
+
+inherit autotools pkgconfig
+
+SRC_URI= "http://people.suug.ch/~tgr/libnl/files/${PN}-1.0-pre6.tar.gz \
+           file://local-includes.patch;patch=1"
+
+S = "${WORKDIR}/${PN}-1.0-pre6"
+
+do_stage () {
+       autotools_stage_all prefix=${prefix}
+}
+