From 015a4a73f0cfc6fbe0448d89c1c3976559a5bf50 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 23 Apr 2012 11:05:18 -0400 Subject: Initial commit. --- (limited to 'build') diff --git a/build b/build new file mode 100755 index 0000000..6cc5a80 --- /dev/null +++ b/build @@ -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 -- cgit v0.9.1