rocksndiamonds: update to 4.2.0.1
This commit is contained in:
parent
6dcc85c0d4
commit
e2cb3584a7
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'rocksndiamonds'
|
# Template file for 'rocksndiamonds'
|
||||||
pkgname=rocksndiamonds
|
pkgname=rocksndiamonds
|
||||||
version=4.1.4.1
|
version=4.2.0.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -11,17 +11,15 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="http://www.artsoft.org/rocksndiamonds"
|
homepage="http://www.artsoft.org/rocksndiamonds"
|
||||||
distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce
|
checksum=2143d778f7d1bbe1a86aa9deb69abd1e193945c90a3117838e0397ed8296db65
|
||||||
|
|
||||||
LDFLAGS="-lz"
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
CFLAGS+=" -DTARGET_SDL2"
|
CFLAGS+=" -DTARGET_SDL2"
|
||||||
CFLAGS+=" -DRO_GAME_DIR='\"/usr/share/${pkgname}\"'"
|
CFLAGS+=" -DRO_GAME_DIR='\"/usr/share/${pkgname}\"'"
|
||||||
CFLAGS+=" -DRW_GAME_DIR='\"/var/lib/${pkgname}\"'"
|
CFLAGS+=" -DRW_GAME_DIR='\"/var/lib/${pkgname}\"'"
|
||||||
CFLAGS+=" $(sdl2-config --cflags)"
|
CFLAGS+=" $(sdl2-config --cflags)"
|
||||||
LDFLAGS+=" $(sdl2-config --libs) -lSDL2_image -lSDL2_mixer -lSDL2_net -lm"
|
LDFLAGS+=" $(sdl2-config --libs) -lSDL2_image -lSDL2_mixer -lSDL2_net -lm -lz"
|
||||||
make ${makejobs} CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" sdl2
|
make ${makejobs} CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in New Issue