void-packages/srcpkgs/supertuxkart/template

22 lines
968 B
Bash

# 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 <xtraeme@voidlinux.eu>"
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
}