nixpkgs/pkgs/os-specific/linux/wpa_supplicant/builder-gui-qt4.sh
Sander van der Burg b4d94e82cd Modified WPA supplicant expression so that it includes an icon
svn path=/nixpkgs/trunk/; revision=15588
2009-05-13 10:56:53 +00:00

18 lines
373 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
cd icons
make
ensureDir $out/share/icons
cp -av hicolor $out/share/icons
cd ..
ensureDir $out/bin
cp wpa_gui $out/bin
ensureDir $out/share/applications
cp wpa_gui.desktop $out/share/applications