void-packages/srcpkgs/python-gtkglext/template

22 lines
719 B
Bash

# Template file for 'python-gtkglext'
pkgname=python-gtkglext
version=1.1.0
revision=2
wrksrc="pygtkglext-${version}"
build_style=gnu-configure
pycompile_module="gtk-2.0/gtk"
hostmakedepends="pkg-config pygtk-devel"
makedepends="pygtk-devel gtkglext-devel"
short_desc="Python Bindings for GtkGLExt"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
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
}