diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-02 21:38:19 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-02 21:39:39 (EDT) |
commit | ed70b5d604c8a0d1239d5d2bac267d98fbdbd707 (patch) | |
tree | 8f1e2c2cf182092d260cd8a91f20d18997d8a6cb /build | |
parent | 4f572114d2a7fd0ac06ac1548959d3d619baf96b (diff) |
Update packaging to SPF 2.0.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 36 |
1 files changed, 23 insertions, 13 deletions
@@ -1,18 +1,28 @@ #! /usr/bin/make -f -PKGS = xmlwf xmlwf-doc libexpat.1 libexpat.1-dev libexpat.1-dbg +build-arch: + cd src && \ + ./configure --prefix=/usr \ + --build=$${OB_BUILD_ARCH_GNU} --host=$${OB_HOST_ARCH_GNU} && \ + make -$(PKGS): expat.buildstamp +install-arch: + cd src && \ + make DESTDIR="$$(pwd)/../dest" install-exec && \ + cd .. + oh-strip -g + oh-installfiles -B -.SILENT: expat.buildstamp -expat.buildstamp: +build-indep: 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 + ./configure --prefix=/usr + +install-indep: + cd src && \ + make DESTDIR="$$(pwd)/../dest" install-data && \ + cd .. + oh-installfiles -A + +build: build-arch build-indep + +install: install-arch install-indep |