python-gtkglext: cross compilation support
This commit is contained in:
		| @@ -1,15 +1,21 @@ | ||||
| # Template file for 'python-gtkglext' | ||||
| pkgname=python-gtkglext | ||||
| version=1.1.0 | ||||
| revision=1 | ||||
| nocross=yes | ||||
| wrksrc=pygtkglext-$version | ||||
| revision=2 | ||||
| wrksrc="pygtkglext-${version}" | ||||
| build_style=gnu-configure | ||||
| hostmakedepends="pkg-config python" | ||||
| pycompile_module="gtk-2.0/gtk" | ||||
| hostmakedepends="pkg-config pygtk-devel" | ||||
| makedepends="pygtk-devel gtkglext-devel" | ||||
| short_desc="Python language bindings for GtkGLExt" | ||||
| short_desc="Python Bindings for GtkGLExt" | ||||
| maintainer="Andrea Brancaleoni <miwaxe@gmail.com>" | ||||
| license="LGPL-3" | ||||
| homepage="http://gtkglext.sourceforge.net2" | ||||
| distfiles="$SOURCEFORGE_SITE/gtkglext/pygtkglext-$version.tar.bz2" | ||||
| license="LGPL-2.1" | ||||
| homepage="https://projects.gnome.org/gtkglext/" | ||||
| distfiles="${SOURCEFORGE_SITE}/gtkglext/pygtkglext-${version}.tar.bz2" | ||||
| checksum=7f0104347659a81cd5bd84007b97547d18a8a216f5df2629f379ea7f87a1410a | ||||
|  | ||||
| pre_configure() { | ||||
| 	if [ "$CROSS_BUILD" ]; then | ||||
| 		sed -i "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure | ||||
| 	fi | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alessio Sergi
					Alessio Sergi