summaryrefslogtreecommitdiff
path: root/strata/core/cpython.def
diff options
context:
space:
mode:
Diffstat (limited to 'strata/core/cpython.def')
-rw-r--r--strata/core/cpython.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/strata/core/cpython.def b/strata/core/cpython.def
new file mode 100644
index 00000000..0e244b5e
--- /dev/null
+++ b/strata/core/cpython.def
@@ -0,0 +1,6 @@
+name: cpython
+build-system: autotools
+configure-commands:
+- ./configure --prefix="$PREFIX" --enable-shared
+post-install-commands:
+- test -x "$DESTDIR"/"$PREFIX"/bin/python2 || ln -s python2.7 "$DESTDIR"/"$PREFIX"/bin/python2