wok diff gens-gs/receipt @ rev 9187

Fix orpheus by unsetting CFLAGS/CXXFLAGS
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Mar 09 06:46:27 2011 +0100 (2011-03-09)
parents 8b7969d3a0f2
children c75f6dba6ff3
line diff
     1.1 --- a/gens-gs/receipt	Sat Oct 02 02:08:52 2010 +0000
     1.2 +++ b/gens-gs/receipt	Wed Mar 09 06:46:27 2011 +0100
     1.3 @@ -5,7 +5,7 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="An emulator for Sega Genesis, Sega CD and 32X."
     1.6  MAINTAINER="slaxemulator@gmail.com"
     1.7 -DEPENDS="gtk+ libsdl"
     1.8 +DEPENDS="gtk+ libsdl libglu-mesa"
     1.9  BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake"
    1.10  _VERSION=gs-r7
    1.11  TARBALL="Gens-${_VERSION}.tar.gz"
    1.12 @@ -15,15 +15,11 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	ln -s $WOK/$PACKAGE/gens-${_VERSION} $WOK/$PACKAGE/$PACKAGE-$VERSION
    1.17  	cd $src
    1.18 +	patch -Np1 -i ../stuff/gens-gtk.patch || return 1
    1.19  	chmod +x install-sh
    1.20 -	./configure \
    1.21 -		--prefix=/usr \
    1.22 -		--infodir=/usr/share/info \
    1.23 -		--mandir=/usr/share/man \
    1.24 -		$CONFIGURE_ARGS &&
    1.25 -	make && make DESTDIR=$PWD/_pkg install
    1.26 +	./configure &&
    1.27 +	make && make -j1 DESTDIR=$DESTDIR install
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.