summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-11 20:05:10 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-11 20:57:23 (EDT)
commitf850a3a2a110c05fd7417a5e217b3d99613f3dc4 (patch)
treee8736e0d2443e831b83784b35ad288414e6af94b /build
Initial commit.
Diffstat (limited to 'build')
-rwxr-xr-xbuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..8732f1a
--- /dev/null
+++ b/build
@@ -0,0 +1,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