From a80f5933ade853dbcef130dadea55319aac0cc8c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 18 Feb 2021 03:20:48 +0300 Subject: iwd: add new package at 1.11 --- dbus/iwd/build | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 dbus/iwd/build (limited to 'dbus/iwd/build') diff --git a/dbus/iwd/build b/dbus/iwd/build new file mode 100755 index 00000000..c82e1860 --- /dev/null +++ b/dbus/iwd/build @@ -0,0 +1,30 @@ +#!/bin/sh -e + +for patch in *.patch; do + patch -p1 < "$patch" +done + +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/bin \ + --localstatedir=/var \ + --disable-systemd-service \ + --enable-pie \ + --enable-dbus-policy \ + --enable-wired \ + PKG_CONFIG="pkgconf --static" + +# Don't use systemd as the default name resolver. +sed -i 's|method_name = "systemd"|method_name = "resolvconf"' src/resolve.c + +# Update the manual page to reflect upon the change. +sed -i '/If not specified/s/systemd/resolvconf' src/iwd.config.5 + + +make LDFLAGS=-all-static +make DESTDIR="$1" install + +for sv in iwd ead; do + install -Dm755 "$sv.run" "$1/etc/sysmgr/$sv" +done -- cgit v1.2.3