35 lines
1019 B
Bash
35 lines
1019 B
Bash
# Template file for 'iwd'
|
|
pkgname=iwd
|
|
version=0.15
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-systemd-service --enable-docs --enable-pie
|
|
--enable-external-ell ac_cv_func_explicit_bzero=yes"
|
|
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=4c6aa8d6473489c19c9511b382d60e1b52d0b178d07389087cc3eada37eb7dd6
|
|
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
|
|
|
|
vinstall src/net.connman.iwd.service 644 usr/share/dbus-1/system-services
|
|
}
|