diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,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 |