summaryrefslogtreecommitdiffstats
path: root/rules/libnfnetlink.make
diff options
context:
space:
mode:
authorBart vdr. Meulen <bartvdrmeulen@gmail.com>2012-05-28 14:42:48 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-05-31 16:59:27 +0200
commit5f23ab828db16a8926fc7051a61320e37afb7a0f (patch)
treefc230f1484d23deddccf1a1264cfb1d681934312 /rules/libnfnetlink.make
parent5d07b25a72da4200ee86dfd8db7ecedf54d9d213 (diff)
downloadptxdist-5f23ab828db16a8926fc7051a61320e37afb7a0f.tar.gz
ptxdist-5f23ab828db16a8926fc7051a61320e37afb7a0f.tar.xz
libnfnetlink: Add new package
libngnetlink provides a generic messaging infrastructure for in-kernel netfilter subsystemsor redirecting network packets into userspace Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libnfnetlink.make')
-rw-r--r--rules/libnfnetlink.make51
1 files changed, 51 insertions, 0 deletions
diff --git a/rules/libnfnetlink.make b/rules/libnfnetlink.make
new file mode 100644
index 000000000..bde731686
--- /dev/null
+++ b/rules/libnfnetlink.make
@@ -0,0 +1,51 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2011 by Hans Kortenoeven <hans.kortenoeven@home.nl>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBNFNETLINK) += libnfnetlink
+
+#
+# Paths and names
+#
+LIBNFNETLINK_VERSION := 1.0.0
+LIBNFNETLINK_MD5 := 016fdec8389242615024c529acc1adb8
+LIBNFNETLINK := libnfnetlink-$(LIBNFNETLINK_VERSION)
+LIBNFNETLINK_SUFFIX := tar.bz2
+LIBNFNETLINK_URL := http://ftp.netfilter.org/pub/libnfnetlink/$(LIBNFNETLINK).$(LIBNFNETLINK_SUFFIX)
+LIBNFNETLINK_SOURCE := $(SRCDIR)/$(LIBNFNETLINK).$(LIBNFNETLINK_SUFFIX)
+LIBNFNETLINK_DIR := $(BUILDDIR)/$(LIBNFNETLINK)
+LIBNFNETLINK_LICENSE := GPL2
+
+#
+# autoconf
+#
+LIBNFNETLINK_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libnfnetlink.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, libnfnetlink)
+ @$(call install_fixup, libnfnetlink,PRIORITY,optional)
+ @$(call install_fixup, libnfnetlink,SECTION,base)
+ @$(call install_fixup, libnfnetlink,AUTHOR,"Hans Kortenoeven <hans.kortenoeven@home.nl>")
+ @$(call install_fixup, libnfnetlink,DESCRIPTION,missing)
+
+ @$(call install_lib, libnfnetlink, 0, 0, 0644, libnfnetlink)
+
+ @$(call install_finish, libnfnetlink)
+
+ @$(call touch)
+