smlinux/net/iw/smbuild

30 lines
738 B
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=iw
version=4.14
build=1sml
homepage="http://wireless.kernel.org/en/users/Documentation/iw"
download="https://mirrors.edge.kernel.org/pub/software/network/iw/$version.tar.xz"
desc="Tool for configuring Linux wireless devices"
requires="libnl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
make
make install PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man DESTDIR="$pkg"
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
3a5c1ff6d2f6ac97ca236bead156a315ced9a3d9c8f9a234d7f2b9f1a3d61213e069ac1dd25d7b1e917f1cccdf1fc557c778a61ed0b0819906fd8bac4fb995de iw-4.14.tar.lz
"