void-packages/srcpkgs/hyperrogue/template

24 lines
871 B
Bash
Raw Normal View History

# Template file for 'hyperrogue'
pkgname=hyperrogue
version=11.3f
revision=1
build_style=gnu-configure
hostmakedepends="autoconf automake"
makedepends="glew-devel libpng-devel SDL-devel SDL_gfx-devel SDL_mixer-devel
SDL_ttf-devel zlib-devel"
short_desc="SDL rogue-like in a non-euclidean world"
maintainer="B. Wilson <x@wilsonb.com>"
license="GPL-2.0-or-later, CC-BY-SA-4.0, CC-BY-SA-3.0, CC-BY-3.0, Public Domain"
homepage="https://www.roguetemple.com/z/hyper/"
distfiles="https://github.com/zenorogue/hyperrogue/archive/v${version}.tar.gz"
checksum=5451b35860c940adc422d455e42d702a76eb6595450e92cb2c0e432cf77ddd9b
nocross="Generates code from build output that must run on host"
# SDL_gfx-devel headers require that SDL.h be under the header search paths,
# which are not set correctly by upstream.
CXXFLAGS+=" -I/usr/include/SDL"
pre_configure() {
autoreconf -i
}