summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..427b922
--- /dev/null
+++ b/build
@@ -0,0 +1,16 @@
+#! /usr/bin/make -f
+
+PKGS = dbus libdbus.1 dbus-doc dbus-dev
+$(PKGS): dbus.buildstamp
+
+.SILENT: dbus.buildstamp
+dbus.buildstamp:
+ cd src && ./configure --prefix=/usr \
+ "CC=/usr/bin/arm64-linux-gnu-gcc -I/usr/bin/include" \
+ && make && make DESTDIR=$$(pwd)/../dest install
+ oh-strip usr/lib/libdbus-1.so.3.5.9
+ oh-installfiles $(PKGS)
+ oh-installdocs libdbus.1
+ oh-gencontrol $(PKGS)
+ oh-buildopk $(PKGS)
+ touch dbus.buildstamp