diff --git a/srcpkgs/supertuxkart/template b/srcpkgs/supertuxkart/template new file mode 100644 index 0000000000..4f7e4f4576 --- /dev/null +++ b/srcpkgs/supertuxkart/template @@ -0,0 +1,22 @@ +# Template file for 'supertuxkart' +pkgname=supertuxkart +version=0.8.1 +revision=1 +wrksrc="SuperTuxKart-${version}" +build_style=cmake +hostmakedepends="cmake pkg-config" +makedepends="libgomp-devel libbluetooth-devel MesaLib-devel libvorbis-devel + libopenal-devel fribidi-devel libcurl-devel desktop-file-utils hicolor-icon-theme" +depends="desktop-file-utils hicolor-icon-theme" +short_desc="Kart racing game featuring Tux and his friends" +maintainer="Juan RP " +license="GPL-2" +homepage="http://supertuxkart.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-src.tar.bz2" +checksum=335301ae61b0c177be68d5593c65e5b197dc807421f08a8a35740a254cacf8d6 + +pre_configure() { + cp ${XBPS_CROSS_BASE}/usr/include/GL/glext.h lib/irrlicht/source/Irrlicht/glext.h + cp ${XBPS_CROSS_BASE}/usr/include/GL/glxext.h lib/irrlicht/source/Irrlicht/glxext.h + cp ${XBPS_CROSS_BASE}/usr/include/GL/wglext.h lib/irrlicht/source/Irrlicht/wglext.h +}