summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-08-14 13:03:45 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-08-14 13:03:45 +0000
commit8db2d90d36bec7107c20515d5192590ac973d0a2 (patch)
tree5e7dd575660fd96f1d7e575d60347d261e149489
parent4c24797ccf44547e8b394163eb6692e73344f4f5 (diff)
downloadgawk-8db2d90d36bec7107c20515d5192590ac973d0a2.tar.gz
morphs: convert to YAML
-rw-r--r--gawk.morph13
-rw-r--r--stage2-gawk.morph22
2 files changed, 15 insertions, 20 deletions
diff --git a/gawk.morph b/gawk.morph
index 90dede81..1ad871c6 100644
--- a/gawk.morph
+++ b/gawk.morph
@@ -1,8 +1,5 @@
-{
- "name" : "gawk",
- "kind" : "chunk",
- "build-system" : "autotools",
- "configure-commands": [
- "./configure --prefix=\"$PREFIX\" --disable-nls"
- ]
-}
+name: gawk
+kind: chunk
+build-system: autotools
+configure-commands:
+- ./configure --prefix="$PREFIX" --disable-nls
diff --git a/stage2-gawk.morph b/stage2-gawk.morph
index 64af05ab..b5026dc0 100644
--- a/stage2-gawk.morph
+++ b/stage2-gawk.morph
@@ -1,12 +1,10 @@
-{
- "name" : "stage2-gawk",
- "kind" : "chunk",
- "build-system" : "autotools",
- "configure-commands": [
- "stage2-eglibc-fix-specs",
- "STAGE2_SYSROOT=\"$(dirname $(pwd))\" CPPFLAGS=\"--sysroot=$STAGE2_SYSROOT\" CXX=false LDFLAGS=\"-Wl,--sysroot=$STAGE2_SYSROOT\" ./configure --prefix=\"$PREFIX\" --disable-nls --build=$(sh config.guess) --host=$TARGET_STAGE1"
- ],
- "build-commands": [
- "STAGE2_SYSROOT=\"$(dirname $(pwd))\" make"
- ]
-}
+name: stage2-gawk
+kind: chunk
+build-system: autotools
+configure-commands:
+- stage2-eglibc-fix-specs
+- STAGE2_SYSROOT="$(dirname $(pwd))" CPPFLAGS="--sysroot=$STAGE2_SYSROOT" CXX=false
+ LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT" ./configure --prefix="$PREFIX" --disable-nls
+ --build=$(sh config.guess) --host=$TARGET_STAGE1
+build-commands:
+- STAGE2_SYSROOT="$(dirname $(pwd))" make