32 lines
745 B
Plaintext
32 lines
745 B
Plaintext
|
# Description: Wireless daemon for Linux
|
||
|
# URL: https://iwd.wiki.kernel.org/
|
||
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||
|
|
||
|
name=iwd
|
||
|
version=0.16
|
||
|
release=1
|
||
|
source=(https://www.kernel.org/pub/linux/network/wireless/$name-$version.tar.xz
|
||
|
iwd
|
||
|
include-config.patch)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
|
||
|
patch -p1 -i $SRC/include-config.patch
|
||
|
|
||
|
./configure --prefix=/usr \
|
||
|
--libexecdir=/usr/sbin \
|
||
|
--localstatedir=/var \
|
||
|
--sysconfdir=/etc \
|
||
|
--disable-systemd-service
|
||
|
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
|
||
|
install -d -m 0700 $PKG/var/lib/iwd
|
||
|
install -d -m 0700 $PKG/etc/iwd
|
||
|
|
||
|
# rc script
|
||
|
install -D -m 0755 $SRC/iwd $PKG/etc/rc.d/iwd
|
||
|
}
|