python: create a python-config symlink, some pkgs still use it.

This commit is contained in:
Juan RP 2014-02-20 09:20:35 +01:00
parent 8493d88c99
commit f14a8ceb8f
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'python'.
pkgname=python
version=2.7.6
revision=5
revision=6
wrksrc="Python-${version}"
hostmakedepends="pkg-config"
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
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-config ${DESTDIR}/usr/bin/python-config
}
post_install() {