pingus: fix build
This commit is contained in:
parent
3d899d6976
commit
1aecee1b0d
1 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'pingus'
|
# Template file for 'pingus'
|
||||||
pkgname=pingus
|
pkgname=pingus
|
||||||
version=0.7.6
|
version=0.7.6
|
||||||
revision=5
|
revision=6
|
||||||
build_style=scons
|
build_style=scons
|
||||||
hostmakedepends="scons pkg-config"
|
hostmakedepends="scons pkg-config"
|
||||||
makedepends="SDL_image-devel SDL_mixer-devel boost-devel libpng-devel libXi-devel zlib-devel"
|
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"
|
homepage="http://pingus.seul.org/welcome.html"
|
||||||
distfiles="http://pingus.googlecode.com/files/pingus-${version}.tar.bz2"
|
distfiles="http://pingus.googlecode.com/files/pingus-${version}.tar.bz2"
|
||||||
checksum=759c1253075d1e72691bc1e770b24cdd51917041fd1857c1daf85b65a6686460
|
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() {
|
do_install() {
|
||||||
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue