summaryrefslogtreecommitdiff
path: root/strata/core
diff options
context:
space:
mode:
Diffstat (limited to 'strata/core')
-rw-r--r--strata/core/python2.morph (renamed from strata/core/cpython.morph)2
-rw-r--r--strata/core/python3.morph7
2 files changed, 8 insertions, 1 deletions
diff --git a/strata/core/cpython.morph b/strata/core/python2.morph
index 6c9e4b3d..997fe6fb 100644
--- a/strata/core/cpython.morph
+++ b/strata/core/python2.morph
@@ -1,4 +1,4 @@
-name: cpython
+name: python2
kind: chunk
build-system: autotools
configure-commands:
diff --git a/strata/core/python3.morph b/strata/core/python3.morph
new file mode 100644
index 00000000..f02452d4
--- /dev/null
+++ b/strata/core/python3.morph
@@ -0,0 +1,7 @@
+name: python3
+kind: chunk
+build-system: autotools
+configure-commands:
+- ./configure --prefix="$PREFIX" --enable-shared
+post-install-commands:
+- test -x "$DESTDIR"/"$PREFIX"/bin/python3 || ln -s python3.4 "$DESTDIR"/"$PREFIX"/bin/python3