summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-06-24 15:36:33 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-06-24 15:36:33 +0000
commit948063437e0350d9ef1649ec3a76d0c24a5c8642 (patch)
treeb2320f648af6702fbd00b7acecc4848f46e74c2f
parentbedbdc0f03bca4fe97200ddf9c3d6cb210b45888 (diff)
downloadlua-baserock/5.1-morph.tar.gz
Rewrite morphology as YAML and remove tab charactersbaserock/5.1-morph
-rw-r--r--lua.morph27
1 files changed, 11 insertions, 16 deletions
diff --git a/lua.morph b/lua.morph
index 3182e50..32aeb5c 100644
--- a/lua.morph
+++ b/lua.morph
@@ -1,16 +1,11 @@
-{
- "name": "lua",
- "kind": "chunk",
- "configure-commands": [
- "sed -e 's/defined(LUA_USE_READLINE)/0/g' src/luaconf.h.orig >src/luaconf.h",
- "sed -i -e '/^linux:/{n;s/-lreadline//g;s/-lhistory//g;s/-lncurses//g}' src/Makefile"
- ],
- "build-commands": [
- "make debian_linux INSTALL_TOP=\"$PREFIX\" RPATH=\"$PREFIX/lib\""
- ],
- "install-commands": [
- "make INSTALL_TOP=\"$DESTDIR/$PREFIX\" debian_install",
- "mkdir -p $DESTDIR/$PREFIX/lib/pkgconfig",
- "cp lua5.1.pc $DESTDIR/$PREFIX/lib/pkgconfig/"
- ]
-}
+name: lua
+kind: chunk
+configure-commands:
+- sed -e 's/defined(LUA_USE_READLINE)/0/g' src/luaconf.h.orig >src/luaconf.h
+- sed -i -e '/^linux:/{n;s/-lreadline//g;s/-lhistory//g;s/-lncurses//g}' src/Makefile
+build-commands:
+- make debian_linux INSTALL_TOP="$PREFIX" RPATH="$PREFIX/lib"
+install-commands:
+- make INSTALL_TOP="$DESTDIR/$PREFIX" debian_install
+- mkdir -p "$DESTDIR/$PREFIX/lib/pkgconfig"
+- cp lua5.1.pc "$DESTDIR/$PREFIX/lib/pkgconfig/"