pygtk: update cross fix
This commit is contained in:
parent
046bb197c5
commit
25855ae176
1 changed files with 3 additions and 3 deletions
|
@ -4,6 +4,7 @@ version=2.24.0
|
|||
revision=13
|
||||
lib32disabled=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="PYTHON=python2"
|
||||
hostmakedepends="pkg-config python-gobject2-devel python-numpy"
|
||||
makedepends="python-devel gtk+-devel libxml2-devel libglade-devel
|
||||
python-gobject2-devel"
|
||||
|
@ -16,11 +17,10 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912
|
||||
|
||||
do_configure() {
|
||||
pre_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
ln -s ${XBPS_WRAPPERDIR}/python-config ${wrksrc}
|
||||
sed -i "s,\(PYTHON_INCLUDES\)=.*,\1=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
|
||||
fi
|
||||
env PYTHON=python ./configure ${configure_args}
|
||||
}
|
||||
post_install() {
|
||||
vinstall gtk/gtk-extrafuncs.defs 644 usr/share/pygtk/2.0/defs
|
||||
|
|
Loading…
Reference in a new issue