void-packages/srcpkgs/mednafen/template
2015-08-13 06:40:30 +02:00

20 lines
740 B
Bash

# Template file for 'mednafen'
pkgname=mednafen
version=0.9.38.6
revision=1
wrksrc="$pkgname"
build_style=gnu-configure
configure_args="--with-libcdio --with-libsndfile --enable-alsa"
hostmakedepends="pkg-config"
makedepends="libcdio-devel libsndfile-devel glu-devel SDL_net-devel zlib-devel"
short_desc="Portable, argument(command-line)-driven multi-system emulator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://mednafen.sourceforge.net/"
distfiles="http://mednafen.fobby.net/releases/files/mednafen-${version}.tar.bz2"
checksum=9460da3c6cd8cb8a02293d51c958cbc6ab5555aa6d115b952d4db2e0f1067e47
pre_build() {
# XXX not sure what's going on with those asserts.
sed -i '/assert/d' src/hash/sha{1,256}.cpp
}