python: move headers to -devel pkg.

This commit is contained in:
Juan RP 2013-05-15 13:50:38 +02:00
parent cfbd8968d5
commit bb0f1461f8

View file

@ -1,7 +1,7 @@
# Template build file for 'python'. # Template build file for 'python'.
pkgname=python pkgname=python
version=2.7.3 version=2.7.3
revision=4 revision=5
wrksrc="Python-${version}" wrksrc="Python-${version}"
short_desc="Interpreted, interactive, object-oriented programming language" short_desc="Interpreted, interactive, object-oriented programming language"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -86,10 +86,8 @@ python-devel_package() {
pkg_install() { pkg_install() {
vmove "usr/bin/python*-config" vmove "usr/bin/python*-config"
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
for f in usr/include/python2.7/*; do vmove usr/include
if [ `basename "$f"` != "pyconfig.h" ]; then mkdir -p ${DESTDIR}/usr/include/python2.7
vmove $f mv ${PKGDESTDIR}/usr/include/python2.7/pyconfig.h ${DESTDIR}/usr/include/python2.7
fi
done
} }
} }