smlinux/base/libnfnetlink/libnfnetlink.SMBuild
PktSurf 1ddfe9abba * Fixed indentation in base/docbook build file
* Replaced patch command with applypatch function in multiple build files in base, xorg, gtk, extra and xfce sections
2022-02-23 23:21:55 +05:30

33 lines
833 B
Text
Executable file

app=libnfnetlink
version=1.0.1
build=1sml
homepage='https://www.netfilter.org/projects/libnfnetlink/index.html'
desc="library for netfilter kernel/userspace communications"
requires="musl"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/musl-fix-includes.patch
./configure \
--prefix="" \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
04507f1340a93c408865d8c60826a3117fb57fa38459081d202d40b4b9f093b79365c05cc9c3b90dce20239d6ba819b110b42bf2a91b4da4bc65d701ed3812bd libnfnetlink-1.0.1.tar.lz
fc452e2924fa4de66e104229bc05a663c253148fb1c0bd62e5454a907877ffb084ba6a04e38bf4ef71a4e58041f4a242001a8029aefbe97ccc00e3bfcb7bba41 musl-fix-includes.patch
"