pygtk: fix cross build and use generic python-config wrapper.

This commit is contained in:
Juan RP 2014-06-19 13:20:54 +02:00
parent a6222ce29e
commit b144622f78

View file

@ -19,14 +19,10 @@ checksum=cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912
do_configure() {
if [ "$CROSS_BUILD" ]; then
# XXX share python-config wrapper for all pkgs.
# create a python-config wrapper to fake --includes
install -m755 ${XBPS_SRCPKGDIR}/py2cairo/files/python-config ${wrksrc}
export PATH=${wrksrc}:$PATH
ln -s ${wrksrc}/.xbps/bin/python-config ${wrksrc}
fi
env PYTHON=python ./configure ${configure_args}
}
post_install() {
vinstall gtk/gtk-extrafuncs.defs 644 usr/share/pygtk/2.0/defs
}