# Description: Tools allowing to manipulate the Wireless Extensions # URL: https://hewlettpackard.github.io/wireless-tools/Tools.html # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: name=wireless-tools version=30.pre9 release=2 source=(https://hewlettpackard.github.io/$name/${name/-/_}.$version.tar.gz basename.patch) build() { cd ${name/-/_}.${version%.*} patch -Np1 -i ../basename.patch # fix compiler flags, build shared library, don't run ldconfig sed -i Makefile \ -e "s|CFLAGS=|CFLAGS=$CFLAGS |" \ -e "/^BUILD_STATIC/d" \ -e "/ldconfig/d" make make install \ PREFIX=$PKG/usr \ INSTALL_MAN=$PKG/usr/share/man rm -r $PKG/usr/share/man/{cs,fr.*} }