void-packages/srcpkgs/wpa_gui/template

28 lines
793 B
Bash

# Template file for 'wpa_gui'
pkgname=wpa_gui
version=2.4
revision=2
wrksrc=wpa_supplicant-${version}
build_wrksrc=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
}