summaryrefslogtreecommitdiffstats
path: root/build
blob: f7a171cb5477f8f0b0ac84cca54142e80f0e0a10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /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 --includedir=/usr/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

nop:
	@:

build:
	oh-autoconfigure
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	oh-installfiles