summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-22 03:59:51 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-22 03:59:51 (EDT)
commit04868870bdca846d75f823c47ca07d03de678c23 (patch)
tree131e502413ac178f087b6385072e9ad43429fb4e
parent6e4bc82d8e42335f0767e24e0f15a19d71aee96d (diff)
Use oh-auto{configure,build,install}.
NOTE: Requires opkhelper 3.0.0-alpha2 (not yet released) or at least commit 93fd1039 in opkhelper's Git repository.
-rwxr-xr-xbuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/build b/build
index 156f77f..a46085c 100755
--- a/build
+++ b/build
@@ -1,15 +1,11 @@
#! /usr/bin/make -f
build:
- cd src && \
- ./configure --prefix=/usr \
- --build=$${OB_BUILD_ARCH_GNU} --host=$${OB_HOST_ARCH_GNU} && \
- make
+ oh-autoconfigure
+ oh-autobuild
install:
- cd src && \
- make DESTDIR="$$(pwd)/../dest" install && \
- cd ..
+ oh-autoinstall
oh-fixperms
oh-strip -k
oh-installfiles