wok-6.x diff visualboyadvance/receipt @ rev 18050

Up openssh (6.8p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 15 09:55:50 2015 +0200 (2015-05-15)
parents 715e800f6ed1
children 1bf9a3f46700
line diff
     1.1 --- a/visualboyadvance/receipt	Fri Jun 15 16:18:05 2012 +0200
     1.2 +++ b/visualboyadvance/receipt	Fri May 15 09:55:50 2015 +0200
     1.3 @@ -5,8 +5,7 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="An emulator for Gameboy and Gameboy Advance systems."
     1.6  MAINTAINER="gokhlayeh@slitaz.org"
     1.7 -DEPENDS="libsdl"
     1.8 -BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev cairomm-dev libglade-dev libxml2-dev zlib-dev"
     1.9 +LICENSE="GPL2"
    1.10  SOURCE="VisualBoyAdvance"
    1.11  TARBALL="$SOURCE-src-$VERSION.tar.gz"
    1.12  CONFIG_FILES="'/etc/VisualBoyAdvance.cfg"
    1.13 @@ -14,6 +13,9 @@
    1.14  WGET_URL="http://downloads.sourceforge.net/sourceforge/vba/$TARBALL"
    1.15  TAGS="emulator gameboy"
    1.16  
    1.17 +DEPENDS="libsdl"
    1.18 +BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev cairomm-dev libglade-dev libxml2-dev zlib-dev"
    1.19 +
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 @@ -30,14 +32,14 @@
    1.24  		--datadir=/usr/games \
    1.25  		--enable-gtk=2.4 \
    1.26  		$CONFIGURE_ARGS &&
    1.27 -	make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install
    1.28 +	make $MAKEFLAGS && make DESTDIR=$DESTDIR install
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34  	mkdir -p $fs/usr/bin
    1.35 -	cp -a $_pkg/etc $fs
    1.36 -	cp -a $_pkg/usr/bin/VisualBoyAdvance $fs/usr/bin
    1.37 +	cp -a $install/etc $fs
    1.38 +	cp -a $install/usr/bin/VisualBoyAdvance $fs/usr/bin
    1.39  }
    1.40