summaryrefslogtreecommitdiff
path: root/package/libmnl
diff options
context:
space:
mode:
Diffstat (limited to 'package/libmnl')
-rw-r--r--package/libmnl/Config.in11
-rw-r--r--package/libmnl/libmnl.mk12
2 files changed, 23 insertions, 0 deletions
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))