summaryrefslogtreecommitdiff
path: root/baserock/strata/core/cpython.morph
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2015-09-25 08:47:49 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2015-09-26 08:27:41 +0100
commit3a2f641e4e70e76ffa77629c6208970c1a7af667 (patch)
treee6635788976c616017c05b5ea93432f9b2dc769e /baserock/strata/core/cpython.morph
parentc844667a718e8640d9ae2b7640a3b0dc0fb53b0e (diff)
downloaddefinitions-baserock/ps/reorganise-definitions.tar.gz
Proposed re-org of definitions repobaserock/ps/reorganise-definitions
Diffstat (limited to 'baserock/strata/core/cpython.morph')
-rw-r--r--baserock/strata/core/cpython.morph12
1 files changed, 12 insertions, 0 deletions
diff --git a/baserock/strata/core/cpython.morph b/baserock/strata/core/cpython.morph
new file mode 100644
index 00000000..e2f59278
--- /dev/null
+++ b/baserock/strata/core/cpython.morph
@@ -0,0 +1,12 @@
+name: cpython
+kind: chunk
+build-system: autotools
+configure-commands:
+- |
+ ./configure --prefix="$PREFIX" \
+ --enable-shared \
+ --with-ensurepip=upgrade \
+ --with-system-expat \
+ --with-system-ffi
+post-install-commands:
+- test -x "$DESTDIR"/"$PREFIX"/bin/python2 || ln -s python2.7 "$DESTDIR"/"$PREFIX"/bin/python2