summaryrefslogtreecommitdiffstats
path: root/build
blob: fa852f41bf00238645704f62a5a6c748078db490 (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/cortexa8-linux-eglibc-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