blob: 0e9b290d651738f73d24e666a300943b6a713dba (
plain)
1 # Description: Tools to configure and manipulate wlan devices
2 # URL: https://hewlettpackard.github.io/wireless-tools/Tools.html
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4
5 name=wireless-tools
6 version=30.pre9
7 release=1
8 source=(https://hewlettpackard.github.io/$name/${name/-/_}.$version.tar.gz)
9
10 build() {
11 cd ${name/-/_}.${version%.*}
12
13 # fix compiler flags, build shared library, don't run ldconfig
14 sed -i Makefile \
15 -e "s|CFLAGS=|CFLAGS=$CFLAGS |" \
16 -e "/^BUILD_STATIC/d" \
17 -e "/ldconfig/d"
18
19 make
20 make install \
21 PREFIX=$PKG/usr \
22 INSTALL_MAN=$PKG/usr/share/man
23
24 rm -r $PKG/usr/share/man/{cs,fr}*/
25 }
|