python: move headers to -devel pkg.
This commit is contained in:
parent
cfbd8968d5
commit
bb0f1461f8
1 changed files with 4 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'python'.
|
||||
pkgname=python
|
||||
version=2.7.3
|
||||
revision=4
|
||||
revision=5
|
||||
wrksrc="Python-${version}"
|
||||
short_desc="Interpreted, interactive, object-oriented programming language"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -86,10 +86,8 @@ python-devel_package() {
|
|||
pkg_install() {
|
||||
vmove "usr/bin/python*-config"
|
||||
vmove usr/lib/pkgconfig
|
||||
for f in usr/include/python2.7/*; do
|
||||
if [ `basename "$f"` != "pyconfig.h" ]; then
|
||||
vmove $f
|
||||
fi
|
||||
done
|
||||
vmove usr/include
|
||||
mkdir -p ${DESTDIR}/usr/include/python2.7
|
||||
mv ${PKGDESTDIR}/usr/include/python2.7/pyconfig.h ${DESTDIR}/usr/include/python2.7
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue