summaryrefslogtreecommitdiff
path: root/libnfnetlink/Pkgfile
blob: 973ada58e04b88eeaaca8f83c4e340d7d4917b63 (plain)
    1 # Description: Netfilter kernel/userspace communication library.
    2 # URL: https://www.netfilter.org/projects/libnfnetlink/index.html
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 
    5 name=libnfnetlink
    6 version=1.0.1
    7 release=3
    8 source=(
    9 	https://www.netfilter.org/projects/$name/files/$name-$version.tar.bz2
   10 	0001-build-resolve-automake-1.12-warnings.patch
   11 	0002-src-get-source-code-license-header-in-sync-with-curr.patch
   12 	0003-configure-uclinux-is-also-linux.patch
   13 	0004-libnfnetlink-initialize-attribute-padding-to-resolve.patch
   14 	0005-include-Sync-with-kernel-headers.patch
   15 	0006-src-Use-stdint-types-everywhere.patch
   16 )
   17 
   18 build() {
   19 	cd $name-$version
   20 
   21 	patch -p1 -i $SRC/0001-build-resolve-automake-1.12-warnings.patch
   22 	patch -p1 -i $SRC/0002-src-get-source-code-license-header-in-sync-with-curr.patch
   23 	patch -p1 -i $SRC/0003-configure-uclinux-is-also-linux.patch
   24 	patch -p1 -i $SRC/0004-libnfnetlink-initialize-attribute-padding-to-resolve.patch
   25 	patch -p1 -i $SRC/0005-include-Sync-with-kernel-headers.patch
   26 	patch -p1 -i $SRC/0006-src-Use-stdint-types-everywhere.patch
   27 
   28 	./configure --prefix=/usr
   29 
   30 	make
   31 	make DESTDIR=$PKG install
   32 }

Generated by cgit