smlinux/base/libnl/smbuild

34 lines
668 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libnl
version=3.5.0
build=1sml
homepage="https://github.com/thom311/libnl"
desc="Netlink Protocol Library Suite version 3"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
ff9f91212e66103476ea01c5842da455aebd060502ae9ca1656fdaaa9ec30e1496e13c3203110371d71af4696d796e1770cb31599961f401aaff53a65c8a98cd libnl-3.5.0.tar.lz
"