summaryrefslogtreecommitdiff
path: root/repo/system
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system')
-rw-r--r--repo/system/dbus.xibuild14
-rw-r--r--repo/system/libndp.xibuild19
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
+}