summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDaniel sea McChlery <sea@members.fsf.org>2014-09-25 01:25:54 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-09-29 17:42:17 (EDT)
commit6978b2dabb00a17a0c74b0fb644c5c0e3873c5e1 (patch)
treeaf42031a743f602ae6bad2d17864ad2977b56edd /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..dc2839f
--- /dev/null
+++ b/build
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+include ../source.mk
+
+nop:
+ @:
+
+build: source
+# oh-autoconfigure
+ oh-autobuild PLAT=posix
+ touch $@
+
+install: build
+ mkdir -p dest;
+ oh-autoinstall -- INSTALL_TOP="$${PWD}/dest/usr" INSTALL_LIB="$${PWD}/dest/usr/lib/$(OPK_HOST_ARCH)" INSTALL_MAN="$${PWD}/dest/usr/share/man/man1" INSTALL_INC="$${PWD}/dest/usr/include/lua5.1"
+ oh-fixperms
+ oh-strip
+ oh-installfiles