blob: 2743858fab8a9f0a7ab2ac919b8e44c4a8335715 (
plain)
1 # Description: Wireless daemon for Linux
2 # URL: https://iwd.wiki.kernel.org/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4
5 name=iwd
6 version=0.16
7 release=1
8 source=(https://www.kernel.org/pub/linux/network/wireless/$name-$version.tar.xz
9 iwd
10 include-config.patch)
11
12 build() {
13 cd $name-$version
14
15 patch -p1 -i $SRC/include-config.patch
16
17 ./configure --prefix=/usr \
18 --libexecdir=/usr/sbin \
19 --localstatedir=/var \
20 --sysconfdir=/etc \
21 --disable-systemd-service
22
23 make
24 make DESTDIR=$PKG install
25
26 install -d -m 0700 $PKG/var/lib/iwd
27 install -d -m 0700 $PKG/etc/iwd
28
29 # rc script
30 install -D -m 0755 $SRC/iwd $PKG/etc/rc.d/iwd
31 }
|