summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-14 08:08:32 +0800
committerDeterminant <[email protected]>2015-05-14 08:08:32 +0800
commita774bfc860471ac880a9b33bbe68761ec9187caf (patch)
tree67be5f7a04719750441845698ab7426ce9fd8a63 /install.sh
init
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..3b0f423
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+PREFIX="${PWD}/build"
+LUAJIT_SRC='luajit-2.0/'
+LUAJIT_PREFIX="${PREFIX}/luaJIT"
+(cd "$LUAJIT_SRC"; make && make PREFIX="$LUAJIT_PREFIX" install)