]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - libnetfilter_log/libnetfilter_log.nm
libuv: New package
[ipfire-3.x.git] / libnetfilter_log / libnetfilter_log.nm
index 988f4504907158283c25c05611c9ad096ff946d2..22c5b3f6e5dc68e044ffb6f95b77f7bf1ce9797c 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = libnetfilter_log
-version    = 0.0.16
-release    = 1
+version    = 1.0.1
+release    = 2
 
 groups     = System/Libraries
 url        = http://www.netfilter.org/projects/libnetfilter_log/downloads.html
@@ -13,25 +13,32 @@ license    = GPL
 summary    = The libnetfilter_log userspace library.
 
 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 \
+       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).
 end
 
-source_dl  =
+source_dl  = http://www.netfilter.org/projects/%{name}/files/
 sources    = %{thisapp}.tar.bz2
 
 build
        requires
+               autoconf
+               automake
                libnfnetlink-devel
-               pkg-config
        end
+
+       prepare_cmds
+               sed -e "s/-Wc,-nostartfiles//g" -i src/Makefile*
+               autoreconf -vfi
+       end
+
+       make_build_targets += CFLAGS="%{CFLAGS}" 
 end
 
 packages
        package %{name}
-       end
 
        package %{name}-devel
                template DEVEL