2019-10-11 14:01:19 +02:00
|
|
|
# Description: Wireless daemon for Linux
|
2021-02-17 10:38:16 +01:00
|
|
|
# URL: https://iwd.wiki.kernel.org/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: readline dbus
|
2019-10-11 14:01:19 +02:00
|
|
|
|
|
|
|
name=iwd
|
2023-12-14 12:47:00 +01:00
|
|
|
version=2.11
|
2019-10-11 14:01:19 +02:00
|
|
|
release=1
|
|
|
|
source=(https://www.kernel.org/pub/linux/network/wireless/$name-$version.tar.xz
|
2021-02-17 10:38:16 +01:00
|
|
|
iwd)
|
2019-10-11 14:01:19 +02:00
|
|
|
|
|
|
|
build() {
|
2021-02-17 10:38:16 +01:00
|
|
|
cd $name-$version
|
2019-10-11 14:01:19 +02:00
|
|
|
|
2022-03-02 15:09:48 +01:00
|
|
|
sed '/DEFAULT_SYSTEM_BUS_ADDRESS/s|/var/run|/run|' -i ell/dbus.c
|
|
|
|
|
2021-02-17 10:38:16 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libexecdir=/usr/sbin \
|
|
|
|
--localstatedir=/var \
|
2022-11-19 19:08:21 +01:00
|
|
|
--runstatedir=/run \
|
2021-02-17 10:38:16 +01:00
|
|
|
--sysconfdir=/etc \
|
|
|
|
--disable-systemd-service
|
2019-10-11 14:01:19 +02:00
|
|
|
|
2021-02-17 10:38:16 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2019-10-11 14:01:19 +02:00
|
|
|
|
2021-02-17 10:38:16 +01:00
|
|
|
install -d -m 0700 $PKG/var/lib/iwd
|
|
|
|
install -d -m 0700 $PKG/etc/iwd
|
2019-10-11 14:01:19 +02:00
|
|
|
|
2021-02-17 10:38:16 +01:00
|
|
|
# rc script
|
|
|
|
install -D -m 0755 $SRC/iwd $PKG/etc/rc.d/iwd
|
2019-10-11 14:01:19 +02:00
|
|
|
}
|