summaryrefslogtreecommitdiff
path: root/package/lua
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-22 19:29:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-22 19:29:20 +0200
commitd279b5d1fe744cac44da7cd1b51f9ba6a2cc4647 (patch)
treebf575aca8f9ce9cf088ce3aee992fc846cd6e130 /package/lua
parent32a82e38679501da738199135b35f93ddc8aca0a (diff)
fix libmix packages, while checking all packages make some style cleanup
Diffstat (limited to 'package/lua')
-rw-r--r--package/lua/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index e7647728a..adb63f207 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -34,11 +34,15 @@ MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS} ${TARGET_CPPFLAGS} -DLUA_USE_LINUX -fPIC"
XAKE_FLAGS+= INSTALL_TOP="${WRKINST}/usr"
ALL_TARGET:= linux
-post-install:
+lua-install:
${INSTALL_DIR} ${IDIR_LUA}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/lua ${IDIR_LUA}/usr/bin/
+
+luac-install:
${INSTALL_DIR} ${IDIR_LUAC}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/luac ${IDIR_LUAC}/usr/bin/
+
+lua-examples-install:
${INSTALL_DIR} ${IDIR_LUA_EXAMPLES}/usr/share/lua/examples
${INSTALL_DATA} ${WRKBUILD}/test/*.lua \
${IDIR_LUA_EXAMPLES}/usr/share/lua/examples/