void-packages/srcpkgs/iwd/template
Érico Nogueira 1f9aab20b4 iwd: fix some non-interactive commands.
`get-networks` was one of the affected commands; it's especially
relevant here, given its possible usage in scripts.
2021-11-11 23:01:36 -03:00

32 lines
977 B
Bash

# Template file for 'iwd'
pkgname=iwd
version=1.19
revision=2
build_style=gnu-configure
configure_args="--disable-systemd-service --enable-pie
--enable-dbus-policy --enable-wired"
hostmakedepends="python3-docutils pkg-config"
makedepends="readline-devel dbus-devel"
depends="dbus"
checkdepends="python3 $depends"
short_desc="Internet Wireless Daemon by Intel that aims to replace wpa_supplicant"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="LGPL-2.1-or-later"
homepage="https://iwd.wiki.kernel.org/"
changelog="https://git.kernel.org/pub/scm/network/wireless/iwd.git/plain/ChangeLog"
distfiles="${KERNEL_SITE}/network/wireless/${pkgname}-${version}.tar.xz"
checksum=dd65a8795f6127fb1b9e29f2092686b0590a0d3738c2b90c792ccd320deaf966
make_dirs="/var/lib/iwd 0600 root root
/var/lib/ead 0600 root root
/etc/iwd 755 root root"
# tests depend on kernel features
make_check=extended
do_check() {
dbus-run-session make check
}
post_install() {
vsv ead
vsv iwd
}