2010-12-27 17:52:39 +11:00
|
|
|
# Description: Netfilter kernel/userspace communication library.
|
2019-05-11 21:15:51 +10:00
|
|
|
# URL: https://www.netfilter.org/projects/libnfnetlink/index.html
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2010-12-27 17:52:39 +11:00
|
|
|
|
|
|
|
name=libnfnetlink
|
2012-12-05 20:25:17 +11:00
|
|
|
version=1.0.1
|
2019-05-11 21:15:51 +10:00
|
|
|
release=3
|
|
|
|
source=(
|
|
|
|
https://www.netfilter.org/projects/$name/files/$name-$version.tar.bz2
|
|
|
|
0001-build-resolve-automake-1.12-warnings.patch
|
|
|
|
0002-src-get-source-code-license-header-in-sync-with-curr.patch
|
|
|
|
0003-configure-uclinux-is-also-linux.patch
|
|
|
|
0004-libnfnetlink-initialize-attribute-padding-to-resolve.patch
|
|
|
|
0005-include-Sync-with-kernel-headers.patch
|
|
|
|
0006-src-Use-stdint-types-everywhere.patch
|
|
|
|
)
|
2010-12-27 17:52:39 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2019-05-11 21:15:51 +10:00
|
|
|
patch -p1 -i $SRC/0001-build-resolve-automake-1.12-warnings.patch
|
|
|
|
patch -p1 -i $SRC/0002-src-get-source-code-license-header-in-sync-with-curr.patch
|
|
|
|
patch -p1 -i $SRC/0003-configure-uclinux-is-also-linux.patch
|
|
|
|
patch -p1 -i $SRC/0004-libnfnetlink-initialize-attribute-padding-to-resolve.patch
|
|
|
|
patch -p1 -i $SRC/0005-include-Sync-with-kernel-headers.patch
|
|
|
|
patch -p1 -i $SRC/0006-src-Use-stdint-types-everywhere.patch
|
2016-10-19 22:10:06 +11:00
|
|
|
|
|
|
|
./configure --prefix=/usr
|
2010-12-27 17:52:39 +11:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|