diff options
author | davidovski <david@davidovski.xyz> | 2022-01-19 16:48:04 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-19 16:48:04 +0000 |
commit | a9b5f586b0da8919f9ee58aef740374f45890b41 (patch) | |
tree | d62039a3dce38e2428159b48cfafee4a724b2077 /repo | |
parent | 918a7c76dfb3a917cc43229b6366b364cef464e5 (diff) |
added libndp
Diffstat (limited to 'repo')
-rw-r--r-- | repo/system/dbus.xibuild | 14 | ||||
-rw-r--r-- | repo/system/libndp.xibuild | 19 |
2 files changed, 33 insertions, 0 deletions
diff --git a/repo/system/dbus.xibuild b/repo/system/dbus.xibuild index e7fc082..b0ed4ad 100644 --- a/repo/system/dbus.xibuild +++ b/repo/system/dbus.xibuild @@ -29,4 +29,18 @@ package () { chown -v root:messagebus $PKG_DEST/usr/libexec/dbus-daemon-launch-helper && chmod -v 4750 $PKG_DEST/usr/libexec/dbus-daemon-launch-helper + + + cat > $PKG_DEST/etc/dbus-1/session-local.conf << "EOF" +<!DOCTYPE busconfig PUBLIC + "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + + <!-- Search for .service files in /usr/local --> + <servicedir>/usr/local/share/dbus-1/services</servicedir> + +</busconfig> +EOF + } diff --git a/repo/system/libndp.xibuild b/repo/system/libndp.xibuild new file mode 100644 index 0000000..3b03603 --- /dev/null +++ b/repo/system/libndp.xibuild @@ -0,0 +1,19 @@ +#!/bin/bash + +DEPS=(glibc) + +PKG_VER=1.8 +SOURCE=http://libndp.org/files/libndp-$PKG_VER.tar.gz +DESC="A wrapper for IPv6 Neighbor Discovery Protocol" + +build () { + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static && + make +} + +package () { + make DESTDIR=$PKG_DEST install +} |