summaryrefslogtreecommitdiffstats
path: root/build
blob: 8732f1a9346283f7dd4d4d97a59861b1266be2e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /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 && \
		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