# Template file for 'gtkglext'
pkgname=gtkglext
version=1.2.0
revision=4
short_desc="OpenGL extension to GTK+"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-2"
homepage="https://projects.gnome.org/gtkglext"
distfiles="${SOURCEFORGE_SITE}/gtkglext/gtkglext/${version}/gtkglext-${version}.tar.gz"
checksum="e5073f3c6b816e7fa67d359d9745a5bb5de94a628ac85f624c992925a46844f9"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config glib-devel"
makedepends="pangox-compat-devel libXt-devel gtk+-devel glu-devel"

gtkglext-devel_package() {
	short_desc+=" - development files"
	depends="gtkglext>=${version}_${revision}"
	pkg_install () {
		vmove usr/include
		vmove "usr/lib/*.so"
		vmove usr/lib/gtkglext-1.0
		vmove usr/lib/pkgconfig
		vmove usr/share/aclocal
		vmove usr/share/gtk-doc
	}
}
