nixpkgs/pkgs/os-specific/linux/wpa_supplicant/builder-gui-qt4.sh
Sander van der Burg 2a633e75c8 Added qt4 gui front-end package for WPA supplicant
svn path=/nixpkgs/trunk/; revision=15578
2009-05-12 18:52:48 +00:00

13 lines
294 B
Bash

source $stdenv/setup
tar xfvz $src
cd $pkgname-$version/wpa_supplicant
cp defconfig .config
substituteInPlace Makefile --replace /usr/local $out
make wpa_gui-qt4
cd wpa_gui-qt4
ensureDir $out/bin
cp wpa_gui $out/bin
ensureDir $out/share/applications
cp wpa_gui.desktop $out/share/applications