summaryrefslogtreecommitdiffstats
path: root/package/libmnl
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 /package/libmnl
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>
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))