summaryrefslogtreecommitdiff
path: root/iwd/Pkgfile
blob: b564815a74e764291b851f54eb9d732ca5f094c7 (plain)
    1 # Description: Wireless daemon for Linux
    2 # URL: https://iwd.wiki.kernel.org/
    3 # Maintainer: Juergen Daubert, jue at crux dot nu
    4 # Depends on: readline dbus
    5 
    6 name=iwd
    7 version=2.1
    8 release=1
    9 source=(https://www.kernel.org/pub/linux/network/wireless/$name-$version.tar.xz
   10 	iwd)
   11 
   12 build() {
   13 	cd $name-$version
   14 
   15 	sed '/DEFAULT_SYSTEM_BUS_ADDRESS/s|/var/run|/run|' -i ell/dbus.c
   16 
   17 	./configure \
   18 		--prefix=/usr \
   19 		--libexecdir=/usr/sbin \
   20 		--localstatedir=/var \
   21 		--runstatedir=/run \
   22 		--sysconfdir=/etc \
   23 		--disable-systemd-service
   24 
   25 	make
   26 	make DESTDIR=$PKG install
   27 
   28 	install -d -m 0700 $PKG/var/lib/iwd
   29 	install -d -m 0700 $PKG/etc/iwd
   30 
   31 	# rc script
   32 	install -D -m 0755 $SRC/iwd $PKG/etc/rc.d/iwd
   33 }

Generated by cgit