python: put back pyconfig.h into main pkg.

This commit is contained in:
Juan RP 2011-09-19 11:31:53 +02:00
parent 445103cd0f
commit ec5f1ac5ab
2 changed files with 7 additions and 3 deletions

View File

@ -5,7 +5,7 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
revision=2
Add_dependency run libffi-devel
Add_dependency run zlib-devel
@ -21,7 +21,11 @@ Add_dependency run python
do_install()
{
vmkdir usr/include/python2.7
vmove "usr/bin/python*-config" usr/bin
vmove usr/lib/pkgconfig usr/lib
vmove usr/include/python2.7 usr/include
mv ${SRCPKGDESTDIR}/usr/include/python2.7/* \
${DESTDIR}/usr/include/python2.7
mv ${DESTDIR}/usr/include/python2.7/pyconfig.h \
${SRCPKGDESTDIR}/usr/include/python2.7
}

View File

@ -1,7 +1,7 @@
# Template build file for 'python'.
pkgname=python
version=2.7.2
revision=1
revision=2
patch_args="-Np1"
wrksrc="Python-$version"
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.bz2"