summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-10-12 17:43:44 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-10-12 17:43:44 (EDT)
commit5c067c424dd1696e691c23c3ab71285bd2dde9be (patch)
treecd0cf04f88481b8ee62b9af1a5d6820a36a94d0d
parent14475b63adea6cc2cdc5a42141d0121ec0f1aac3 (diff)
build: Add "build" and "install" targets
-rwxr-xr-xbuild13
1 files changed, 13 insertions, 0 deletions
diff --git a/build b/build
index ece25f1..fdbdfe9 100755
--- a/build
+++ b/build
@@ -7,3 +7,16 @@ include ../source.mk
nop:
@:
+
+build:
+ oh-autoconfigure -- \
+ --enable-bsdtar=shared --enable-bsdcpio=shared
+ oh-autobuild
+ touch $@
+
+install: build
+ oh-autoinstall
+ rm dest/usr/lib/$(OPK_HOST_ARCH)/libarchive.la
+ oh-fixperms
+ oh-strip
+ oh-installfiles