void-packages/srcpkgs/iwd/template

26 lines
765 B
Bash

# Template file for 'iwd'
pkgname=iwd
version=0.6
revision=1
build_style=gnu-configure
configure_args="--disable-systemd-service --enable-docs --enable-pie"
hostmakedepends="asciidoc pkg-config"
makedepends="readline-devel dbus-devel ell-devel"
depends="dbus"
checkdepends="python3"
short_desc="Internet Wireless Daemon by Intel that aims to replace wpa_supplicant"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://iwd.wiki.kernel.org/"
distfiles="${KERNEL_SITE}/network/wireless/iwd-${version}.tar.xz"
checksum=ad959ccaaac106f6f06533dafaa8e5ab9bda01859906f5157f9d516df13bf627
make_dirs="/var/lib/iwd 0600 root root"
post_install() {
vmkdir etc/iwd
touch "${DESTDIR}"/etc/iwd/.empty
vsconf doc/main.conf
vsv iwd
}