diff --git a/srcpkgs/pingus/template b/srcpkgs/pingus/template index 0538a1ca8f4..5d86b95fae4 100644 --- a/srcpkgs/pingus/template +++ b/srcpkgs/pingus/template @@ -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