diff options
Diffstat (limited to 'strata/core/python3.morph')
-rw-r--r-- | strata/core/python3.morph | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/strata/core/python3.morph b/strata/core/python3.morph new file mode 100644 index 00000000..54d2e9e7 --- /dev/null +++ b/strata/core/python3.morph @@ -0,0 +1,15 @@ +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.5 "$DESTDIR"/"$PREFIX"/bin/python +- test -x "$DESTDIR"/"$PREFIX"/bin/python3 || ln -s python3.5 "$DESTDIR"/"$PREFIX"/bin/python3 +- test -x "$DESTDIR"/"$PREFIX"/bin/python-config || ln -s python3.5-config "$DESTDIR"/"$PREFIX"/bin/python-config +- test -x "$DESTDIR"/"$PREFIX"/bin/python3-config || ln -s python3.5-config "$DESTDIR"/"$PREFIX"/bin/python3-config |