aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-01-05 16:12:56 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2011-01-05 16:32:09 +0100
commitfb68e7c6d9d79a3b2192d8243ea52f98b5bd0d2c (patch)
treeec76eec59002d2b9078896ea07720afc3a6f14f5 /recipes
parent61b3a0cd21ff9dbfa35a30991fbdce8ff593e395 (diff)
downloadopenembedded-fb68e7c6d9d79a3b2192d8243ea52f98b5bd0d2c.tar.gz
openembedded-fb68e7c6d9d79a3b2192d8243ea52f98b5bd0d2c.tar.bz2
openembedded-fb68e7c6d9d79a3b2192d8243ea52f98b5bd0d2c.zip
libnl2: add recipe for released version 2.0
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/libnl/libnl2/fix-pc-file.patch11
-rw-r--r--recipes/libnl/libnl2_2.0.bb23
2 files changed, 34 insertions, 0 deletions
diff --git a/recipes/libnl/libnl2/fix-pc-file.patch b/recipes/libnl/libnl2/fix-pc-file.patch
new file mode 100644
index 0000000000..17666fbadf
--- /dev/null
+++ b/recipes/libnl/libnl2/fix-pc-file.patch
@@ -0,0 +1,11 @@
+Index: libnl-2.0/libnl-2.0.pc.in
+===================================================================
+--- libnl-2.0.orig/libnl-2.0.pc.in
++++ libnl-2.0/libnl-2.0.pc.in
+@@ -6,5 +6,5 @@
+ Name: libnl
+ Description: Convenience library for netlink sockets
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -lnl
++Libs: -L${libdir} -lnl -lnl-genl -lnl-nf -lnl-route
+ Cflags: -I${includedir}
diff --git a/recipes/libnl/libnl2_2.0.bb b/recipes/libnl/libnl2_2.0.bb
new file mode 100644
index 0000000000..b2d1a4e84e
--- /dev/null
+++ b/recipes/libnl/libnl2_2.0.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "libnl2 is a library for applications dealing with netlink sockets"
+SECTION = "libs/network"
+LICENSE = "LGPL"
+HOMEPAGE = "http://www.infradead.org/~tgr/libnl/"
+PE = "1"
+
+inherit autotools pkgconfig
+
+includedir = ${prefix}/include/libnl2
+
+S = "${WORKDIR}/libnl-${PV}"
+SRC_URI = "\
+ http://www.infradead.org/~tgr/libnl/files/libnl-${PV}.tar.gz \
+ file://fix-pc-file.patch \
+"
+SRC_URI[md5sum] = "6aaf1e9802a17a7d702bb0638044ffa7"
+SRC_URI[sha256sum] = "5a40dc903d3ca1074da7424b908bec8ff16936484798c7e46e53e9db8bc87a9c"
+
+PACKAGES =+ "${PN}-route ${PN}-nf ${PN}-genl ${PN}-cli"
+FILES_${PN}-route = "${libdir}/libnl-route.so.*"
+FILES_${PN}-nf = "${libdir}/libnl-nf.so.*"
+FILES_${PN}-genl = "${libdir}/libnl-genl.so.*"
+FILES_${PN}-cli = "${libdir}/libnl-cli.so.*"