smlinux/base/libmnl/libmnl.SMBuild

31 lines
668 B
Text
Executable file

app=libmnl
version=1.0.4
build=1sml
homepage="http://www.netfilter.org/projects/libmnl/"
download="https://www.netfilter.org/pub/libmnl/libmnl-1.0.4.tar.bz"
desc="User-space library oriented to Netlink developers"
requires="musl"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
30689d7f6c1e87d564e65c944b6d1fe36eba310f06b2fa39f37d1c0773ef0547c4100e6109cf03f9e844b0eda8832b17e12e137b6f603fa8fa1833705254f360 libmnl-1.0.4.tar.lz
"