void-packages/srcpkgs/wpa_gui/template

27 lines
780 B
Bash

# Template file for 'wpa_gui'
pkgname=wpa_gui
version=2.4
revision=1
wrksrc=wpa_supplicant-${version}/wpa_supplicant/wpa_gui-qt4
hostmakedepends="qt-qmake"
makedepends="qt-devel"
depends="wpa_supplicant desktop-file-utils"
short_desc="WPA/WPA2/IEEE 802.1X Supplicant -- Graphical User Interface"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://hostap.epitest.fi/wpa_supplicant"
distfiles="http://hostap.epitest.fi/releases/wpa_supplicant-${version}.tar.gz"
checksum=058dc832c096139a059e6df814080f50251a8d313c21b13364c54a1e70109122
do_build() {
qmake
make ${makejobs}
}
do_install() {
vbin wpa_gui
vman ../doc/docbook/wpa_gui.8
vinstall wpa_gui.desktop 644 usr/share/applications
vinstall icons/wpa_gui.svg 644 usr/share/pixmaps
}