python3: fix multiple issues.
This commit is contained in:
parent
34a4588cd0
commit
facf37b13e
1 changed files with 7 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'python3'.
|
||||
pkgname=python3
|
||||
version=3.3.2
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="Python-${version}"
|
||||
short_desc="Interpreted, interactive, object-oriented programming language (3.x series)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -53,17 +53,20 @@ do_install() {
|
|||
}
|
||||
|
||||
python3-devel_package() {
|
||||
depends="python3>=${version}"
|
||||
depends="python3>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove "usr/bin/python*-config"
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/include/python3*/*"
|
||||
vmove usr/include
|
||||
mkdir -p ${DESTDIR}/usr/include/python3.3m
|
||||
mv ${PKGDESTDIR}/usr/include/python3.3m/pyconfig.h \
|
||||
${DESTDIR}/usr/include/python3.3m
|
||||
}
|
||||
}
|
||||
|
||||
python3_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue