void-packages/srcpkgs/iwd/template

33 lines
980 B
Bash

# Template file for 'iwd'
pkgname=iwd
version=0.16
revision=2
build_style=gnu-configure
configure_args="--disable-systemd-service --enable-docs --enable-pie
--enable-external-ell ac_cv_func_explicit_bzero=yes
--enable-dbus-policy --enable-wired"
hostmakedepends="asciidoc pkg-config automake libtool"
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=406f6c0bbd57647e18612026e58406f2f8e889d74dcdc8e3995866db23a81245
make_dirs="/var/lib/iwd 0600 root root
/etc/iwd 755 root root"
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="Fails to detect musl has explicit_bzero" ;;
esac
pre_configure() {
autoreconf -fi
}
post_install() {
vsconf doc/main.conf
vsv iwd
}