python: put back pyconfig.h into main pkg.
This commit is contained in:
parent
445103cd0f
commit
ec5f1ac5ab
2 changed files with 7 additions and 3 deletions
|
@ -5,7 +5,7 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
revision=1
|
revision=2
|
||||||
|
|
||||||
Add_dependency run libffi-devel
|
Add_dependency run libffi-devel
|
||||||
Add_dependency run zlib-devel
|
Add_dependency run zlib-devel
|
||||||
|
@ -21,7 +21,11 @@ Add_dependency run python
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
|
vmkdir usr/include/python2.7
|
||||||
vmove "usr/bin/python*-config" usr/bin
|
vmove "usr/bin/python*-config" usr/bin
|
||||||
vmove usr/lib/pkgconfig usr/lib
|
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
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'python'.
|
# Template build file for 'python'.
|
||||||
pkgname=python
|
pkgname=python
|
||||||
version=2.7.2
|
version=2.7.2
|
||||||
revision=1
|
revision=2
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
wrksrc="Python-$version"
|
wrksrc="Python-$version"
|
||||||
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.bz2"
|
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.bz2"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue