diff options
Diffstat (limited to 'strata/core/python3.morph')
-rw-r--r-- | strata/core/python3.morph | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/strata/core/python3.morph b/strata/core/python3.morph new file mode 100644 index 00000000..0d730bc9 --- /dev/null +++ b/strata/core/python3.morph @@ -0,0 +1,13 @@ +name: python3 +kind: chunk +build-system: autotools +configure-commands: +- | + ./configure --prefix="$PREFIX" \ + --sysconfdir=/etc \ + --enable-shared \ + --with-system-expat \ + --with-system-ffi +post-install-commands: +- test -x "$DESTDIR"/"$PREFIX"/bin/python || ln -s python3.4 "$DESTDIR"/"$PREFIX"/bin/python +- test -x "$DESTDIR"/"$PREFIX"/bin/python3 || ln -s python3.4 "$DESTDIR"/"$PREFIX"/bin/python3 |