vte: use generic python-config wrapper.

This commit is contained in:
Juan RP 2014-06-19 13:25:01 +02:00
parent b144622f78
commit ca814bde6a

View file

@ -1,7 +1,7 @@
# Template build file for 'vte'.
pkgname=vte
version=0.28.2
revision=7
revision=8
build_style=gnu-configure
configure_args="--disable-static --with-gtk=2.0"
hostmakedepends="automake gettext-devel gtk-doc gobject-introspection libtool pkg-config intltool python-devel glib-devel pygtk-devel"
@ -16,13 +16,9 @@ checksum=8d04e202b617373dfb47689e5e628febe2c58840b34cccc4af4feb88c48df903
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
}
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}
}