diff options
Diffstat (limited to 'strata/python2-core/python2.morph')
-rw-r--r-- | strata/python2-core/python2.morph | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/strata/python2-core/python2.morph b/strata/python2-core/python2.morph new file mode 100644 index 00000000..d5f6913a --- /dev/null +++ b/strata/python2-core/python2.morph @@ -0,0 +1,13 @@ +name: python2 +kind: chunk +build-system: autotools +configure-commands: +- | + ./configure --prefix="$PREFIX" \ + --enable-shared \ + --with-ensurepip=upgrade \ + --with-system-expat \ + --with-system-ffi +post-install-commands: +- ln -sf python2.7 "$DESTDIR"/"$PREFIX"/bin/python +- test -x "$DESTDIR"/"$PREFIX"/bin/python2 || ln -s python2.7 "$DESTDIR"/"$PREFIX"/bin/python2 |