summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-07-21 16:49:56 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-22 07:40:31 +0200
commitbea473a4d4a949388826679abd53e3d43573a639 (patch)
treedd7f36cfe561e7ffe939a47a9785dc852852ce9c
parentc1ac6ce60e9d4bb0c611aeae604033228af15e68 (diff)
libmnl: new package
[Peter: needs largefile support] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/libmnl/Config.in11
-rw-r--r--package/libmnl/libmnl.mk12
3 files changed, 24 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index a01f8d277..981a633dc 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -324,6 +324,7 @@ source "package/libeXosip2/Config.in"
source "package/libidn/Config.in"
source "package/libmicrohttpd/Config.in"
source "package/neon/Config.in"
+source "package/libmnl/Config.in"
source "package/libnl/Config.in"
source "package/libpcap/Config.in"
source "package/libosip2/Config.in"
diff --git a/package/libmnl/Config.in b/package/libmnl/Config.in
new file mode 100644
index 000000000..87475df5a
--- /dev/null
+++ b/package/libmnl/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBMNL
+ bool "libmnl"
+ depends on BR2_LARGEFILE
+ help
+ libmnl is a minimalistic user-space library oriented
+ to Netlink developers.
+
+ http://netfilter.org/projects/libmnl/
+
+comment "libmnl requires a toolchain with LARGEFILE support"
+ depends on !BR2_LARGEFILE
diff --git a/package/libmnl/libmnl.mk b/package/libmnl/libmnl.mk
new file mode 100644
index 000000000..6749756b7
--- /dev/null
+++ b/package/libmnl/libmnl.mk
@@ -0,0 +1,12 @@
+#############################################################
+#
+# libmnl
+#
+#############################################################
+
+LIBMNL_VERSION = 1.0.1
+LIBMNL_SOURCE = libmnl-$(LIBMNL_VERSION).tar.bz2
+LIBMNL_SITE = http://netfilter.org/projects/libmnl/files
+LIBMNL_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS,package,libmnl))