summaryrefslogtreecommitdiff
path: root/elements/core/python2.bst
blob: b9475cf10eff8626f7dbf2c4d572f87d60581e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
kind: autotools
depends:
- filename: core/bash.bst
  type: build
- filename: gnu-toolchain.bst
  type: build
sources:
- kind: git
  url: upstream:cpython
  track: v2.7.10
  ref: 57af3f22d11600ca98c0c9073d0b3b57d43f7c4b
config:
  configure-commands:
  - |
    ./configure --prefix="%{prefix}"  \
                --enable-shared     \
                --with-ensurepip=upgrade \
                --with-system-expat \
                --with-system-ffi
  install-commands:
    (>):
    - ln -sf python2.7 "%{install-root}"/"%{prefix}"/bin/python
    - test -x "%{install-root}"/"%{prefix}"/bin/python2 || ln -s python2.7 "%{install-root}"/"%{prefix}"/bin/python2