smlinux/net/iw/iw.SMBuild
2022-02-13 15:56:03 +05:30

27 lines
665 B
Text
Executable file

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/iw-4.14.tar.xz"
desc="Tool for configuring Linux wireless devices"
requires="libnl"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
make
make install PREFIX="" SBINDIR=/bin MANDIR=/share/man DESTDIR="$pkg"
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
3a5c1ff6d2f6ac97ca236bead156a315ced9a3d9c8f9a234d7f2b9f1a3d61213e069ac1dd25d7b1e917f1cccdf1fc557c778a61ed0b0819906fd8bac4fb995de iw-4.14.tar.lz
"