prboom-plus: fix cross compilation.

This commit is contained in:
Juan RP 2016-01-11 09:49:01 +01:00
parent fc116e5b0a
commit 3d004591c1

View file

@ -4,8 +4,9 @@ version=2.5.1.4
revision=1
build_style=gnu-configure
configure_args="--disable-cpu-opt --disable-dogs"
makedepends="fluidsynth-devel libmad-devel SDL_mixer-devel SDL_net-devel
hostmakedepends="pcre-devel fluidsynth-devel libmad-devel SDL_mixer-devel SDL_net-devel
SDL_image-devel libpng-devel portmidi-devel libvorbis-devel glu-devel"
makedepends="${hostmakedepends}"
short_desc="Doom source port developed from the original PrBoom"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
homepage="http://prboom-plus.sourceforge.net/"
@ -18,3 +19,7 @@ pre_configure() {
sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in
sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' doc/Makefile.in
}
pre_build() {
cd data
make CC=cc CFLAGS="-Os" LDFLAGS= rdatawad
}