]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
libnetfilter_log: New package.
authorStefan Schantl <Stevee@ipfire.org>
Tue, 9 Feb 2010 21:54:51 +0000 (22:54 +0100)
committerStefan Schantl <Stevee@ipfire.org>
Tue, 9 Feb 2010 21:54:51 +0000 (22:54 +0100)
pkgs/core/libnetfilter_log/libnetfilter_log.nm [new file with mode: 0644]

diff --git a/pkgs/core/libnetfilter_log/libnetfilter_log.nm b/pkgs/core/libnetfilter_log/libnetfilter_log.nm
new file mode 100644 (file)
index 0000000..15324d6
--- /dev/null
@@ -0,0 +1,56 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt                 #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include $(PKGROOT)/Include
+
+PKG_NAME       = libnetfilter_log
+PKG_VER        = 0.0.16
+PKG_REL        = 0
+
+PKG_MAINTAINER =
+PKG_GROUP      = System/Libraries
+PKG_URL        = http://www.netfilter.org/projects/libnetfilter_log/downloads.html
+PKG_LICENSE    = GPL
+PKG_SUMMARY    = The libnetfilter_log userspace library.
+
+PKG_BUILD_DEPS+= pkg-config
+PKG_DEPS      += libnfnetlink
+
+define PKG_DESCRIPTION
+       libnetfilter_log is a software library to interface with the \
+       nfnetlink_log mechanism in Linux 2.6.14 and later. The library \
+       enables programs to receive and process packets logged by the \
+       Linux packet filter (iptables).
+endef
+
+PKG_TARBALL    = $(THISAPP).tar.bz2
+
+CONFIGURE_OPTIONS += \
+        --libdir=/lib
+
+define STAGE_INSTALL_CMDS
+        -mkdir -pv $(BUILDROOT)/usr/lib
+        mv -v $(BUILDROOT)/lib/pkgconfig $(BUILDROOT)/usr/lib/
+endef
+