summaryrefslogtreecommitdiff
path: root/strata/core/python3.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/core/python3.morph')
-rw-r--r--strata/core/python3.morph12
1 files changed, 12 insertions, 0 deletions
diff --git a/strata/core/python3.morph b/strata/core/python3.morph
new file mode 100644
index 00000000..4b3ef290
--- /dev/null
+++ b/strata/core/python3.morph
@@ -0,0 +1,12 @@
+name: python3
+kind: chunk
+build-system: autotools
+configure-commands:
+- |
+ ./configure --prefix="$PREFIX" \
+ --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