diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-02 09:13:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-02 09:34:24 +0000 |
commit | 1ff50be4b5fe1e5e9c94501a756a31aed6efe9be (patch) | |
tree | 671091a56e9a52662c5d851005c8019008084acb /community/wpa_gui/APKBUILD | |
parent | 8ecbcdec5c10e501b17cb590f4f5743431af0ce0 (diff) | |
download | aports-1ff50be4b5fe1e5e9c94501a756a31aed6efe9be.tar.bz2 aports-1ff50be4b5fe1e5e9c94501a756a31aed6efe9be.tar.xz |
main/wpa_supplicant: move wpa_cli to its own aport in community
wpa_supplicant depends on qt5 which is in community. We need
wpa_supplicant itself to stay in main so we split the wpa_cli to its own
aport in community.
Diffstat (limited to 'community/wpa_gui/APKBUILD')
-rw-r--r-- | community/wpa_gui/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/wpa_gui/APKBUILD b/community/wpa_gui/APKBUILD new file mode 100644 index 0000000000..7505fdb1b9 --- /dev/null +++ b/community/wpa_gui/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=wpa_gui +pkgver=2.6 +pkgrel=0 +pkgdesc="Grafical User Interface for wpa_supplicant" +url="https://w1.fi/wpa_supplicant/" +arch="all" +license="BSD" +makedepends="dbus-dev qt5-qtbase-dev" +source="http://w1.fi/releases/wpa_supplicant-$pkgver.tar.gz" +options="!check" + +# upgrade compatibility. this can removed after v3.7 +provides="wpa_supplicant-gui" + +builddir="$srcdir"/wpa_supplicant-$pkgver +build() { + cd "$builddir"/wpa_supplicant + qmake-qt5 -o wpa_gui-qt4/Makefile wpa_gui-qt4/wpa_gui.pro + make -C wpa_gui-qt4 +} + +package() { + cd "$builddir"/wpa_supplicant + install -d "$pkgdir"/usr/bin + install -m 0755 wpa_gui-qt4/wpa_gui "$pkgdir"/usr/bin/wpa_gui +} + +sha512sums="46442cddb6ca043b8b08d143908f149954c238e0f3a57a0df73ca4fab9c1acd91b078f3f26375a1d99cd1d65625986328018c735d8705882c8f91e389cad28a6 wpa_supplicant-2.6.tar.gz" |