wok rev 10334

gens-gs: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 01:20:15 2011 +0000 (2011-05-22)
parents 26409685bf43
children eab0042ff759
files gens-gs/receipt
line diff
     1.1 --- a/gens-gs/receipt	Sun May 22 01:15:01 2011 +0000
     1.2 +++ b/gens-gs/receipt	Sun May 22 01:20:15 2011 +0000
     1.3 @@ -5,20 +5,21 @@
     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 libglu-mesa"
     1.8 -BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake"
     1.9  _VERSION=gs-r7
    1.10  TARBALL="Gens-${_VERSION}.tar.gz"
    1.11  WEB_SITE="http://info.sonicretro.org/Gens/GS"
    1.12  WGET_URL="http://segaretro.org/images/6/6d/$TARBALL"
    1.13  
    1.14 +DEPENDS="gtk+ libsdl libglu-mesa"
    1.15 +BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21  	patch -Np1 -i $stuff/gens-gtk.patch || return 1
    1.22  	chmod +x install-sh
    1.23 -	./configure
    1.24 +	./configure $CONFIGURE_ARGS
    1.25  	find -name "Makefile" | xargs sed -i 's|-DGTK_DISABLE_DEPRECATED||g' 
    1.26  	make -j1 && make -j1 DESTDIR=$DESTDIR install
    1.27  }