smlinux/net/wireless-tools/smbuild
PktSurf f14cfce65d Added doinst.sh to net/irssi to preserve /etc/irssi.conf
Discarded old patch and added a new one to net/wireless-tools and fixed its build file
2024-11-01 21:11:19 +05:30

35 lines
No EOL
1.1 KiB
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=wireless-tools
version=29
build=1sml
homepage="https://hewlettpackard.github.io/wireless-tools/"
download="https://hewlettpackard.github.io/wireless-tools/wireless_tools.$version.tar.gz"
desc="Set of tools allowing manipulation of wireless extensions"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/makefile.patch
applypatch $srcdir/wireless-tools-headers.patch
}
build() {
make
make install PREFIX=/usr DESTDIR="$pkg"
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
f9c0c126b82ec8c81847c52080152e92a449dc5db00ae44b8ed45aa5959b7c611b59b8c8e2152efd1ee67c321a76600aeac4b1de0df1ee86993be5d42fc5b6a2 wireless-tools-29.tar.lz
12610d303a9f8ecaf22e6fbf4f817f71ea7ba5309b1c713b6f39df843c46d6c766abbf7d5677b32648603baf8617067237772cafd6264667ddd7b843181cc1d4 makefile.patch
502e0b879bed0ccbcb6de0580984f4187cdbf4adc87caae44652a6a9ff786103a3930d9dfecd2fbe4754743cde2cc0a310ab67f4a794d0d18e88bdaf41662f14 wireless-tools-headers.patch
"