void-packages/srcpkgs/iwd/template

30 lines
970 B
Bash

# Template file for 'iwd'
pkgname=iwd
version=2.15
revision=1
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 openresolv"
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/iwd-${version}.tar.xz"
checksum=bac5d236ac0a0dc3c576e8f362d64b7467e9d5c4b94c1a33a4c8ce5d325a82f1
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
make_check_pre="dbus-run-session"
post_install() {
vsv ead
vsv iwd
}