python: create a python-config symlink, some pkgs still use it.
This commit is contained in:
parent
8493d88c99
commit
f14a8ceb8f
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'python'.
|
# Template build file for 'python'.
|
||||||
pkgname=python
|
pkgname=python
|
||||||
version=2.7.6
|
version=2.7.6
|
||||||
revision=5
|
revision=6
|
||||||
wrksrc="Python-${version}"
|
wrksrc="Python-${version}"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libffi-devel readline-devel gdbm-devel openssl-devel expat-devel sqlite-devel bzip2-devel zlib-devel"
|
makedepends="libffi-devel readline-devel gdbm-devel openssl-devel expat-devel sqlite-devel bzip2-devel zlib-devel"
|
||||||
|
@ -50,6 +50,7 @@ do_install() {
|
||||||
make DESTDIR=${DESTDIR} altinstall
|
make DESTDIR=${DESTDIR} altinstall
|
||||||
ln -sf /usr/bin/python2.7 ${DESTDIR}/usr/bin/python2
|
ln -sf /usr/bin/python2.7 ${DESTDIR}/usr/bin/python2
|
||||||
ln -sf /usr/bin/python2.7 ${DESTDIR}/usr/bin/python
|
ln -sf /usr/bin/python2.7 ${DESTDIR}/usr/bin/python
|
||||||
|
ln -sf /usr/bin/python2.7-config ${DESTDIR}/usr/bin/python-config
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in a new issue