summaryrefslogtreecommitdiffstats
path: root/build
blob: 427b922b9fe7cf986c11b9603a6cda93d13993cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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