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'.
|
# 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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue