summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-23 11:05:18 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-23 11:05:18 (EDT)
commit015a4a73f0cfc6fbe0448d89c1c3976559a5bf50 (patch)
tree427b920c733e8c45a07d88397922461a5611d7eb /build
Initial commit.
Diffstat (limited to 'build')
-rwxr-xr-xbuild18
1 files changed, 18 insertions, 0 deletions
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