summaryrefslogtreecommitdiffstats
path: root/build
blob: 6cc5a80c992b07adf6cc97cbb12e11f8c5544606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /usr/bin/make -f

PKGS = xmlwf xmlwf-doc libexpat.1 libexpat.1-dev libexpat.1-dbg

$(PKGS): expat.buildstamp

.SILENT: expat.buildstamp
expat.buildstamp:
	cd src && \
		./configure --prefix=/usr \
		--build=$${OH_BUILD_ARCH_GNU} --host=$${OH_HOST_ARCH_GNU} && \
		make && make DESTDIR=$$(pwd)/../dest install
	oh-strip -gl /usr/lib/libexpat.so.1.6.0
	oh-installfiles $(PKGS)
	oh-installdocs libexpat.1
	oh-gencontrol $(PKGS)
	oh-buildopk $(PKGS)
	touch expat.buildstamp