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
|
2021-02-17 10:38:16 +01:00
|
|
|
version=1.12
|
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
|
|
|
|
2021-02-17 10:38:16 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libexecdir=/usr/sbin \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--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
|
|
|
}
|