pingus: fix build

This commit is contained in:
Michael Gehring 2016-04-06 11:50:04 +02:00 committed by Juan RP
parent 3d899d6976
commit 1aecee1b0d

View file

@ -1,7 +1,7 @@
# Template file for 'pingus'
pkgname=pingus
version=0.7.6
revision=5
revision=6
build_style=scons
hostmakedepends="scons pkg-config"
makedepends="SDL_image-devel SDL_mixer-devel boost-devel libpng-devel libXi-devel zlib-devel"
@ -11,6 +11,14 @@ license="GPL-2"
homepage="http://pingus.seul.org/welcome.html"
distfiles="http://pingus.googlecode.com/files/pingus-${version}.tar.bz2"
checksum=759c1253075d1e72691bc1e770b24cdd51917041fd1857c1daf85b65a6686460
nocross=yes
do_build() {
# XXX: defining CXXFLAGS breaks dependency detection.
scons ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
LINKFLAGS="$LDFLAGS" \
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install