wok-next diff gtklife/receipt @ rev 15608

hubbub: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 20:31:17 2013 +0000 (2013-12-06)
parents 1ae5963f23df
children 17e313b5b9c1
line diff
     1.1 --- a/gtklife/receipt	Wed Aug 14 18:02:00 2013 +0000
     1.2 +++ b/gtklife/receipt	Fri Dec 06 20:31:17 2013 +0000
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="Fast, featureful, open-source Conway's Life program."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="gtk+ xorg-libXdamage"
     1.8 -BUILD_DEPENDS="gtk+-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://ironphoenix.org/tril/gtklife/"
    1.12  WGET_URL="http://ironphoenix.org/tril/gtklife/$TARBALL"
    1.13  
    1.14 +DEPENDS="gtk+ xorg-libXdamage"
    1.15 +BUILD_DEPENDS="gtk+-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -22,15 +24,15 @@
    1.21  		--with-gtk2 \
    1.22  		$CONFIGURE_ARGS &&
    1.23  	make || return 1
    1.24 -	mkdir -p _pkg/usr/games _pkg/usr/share/gtklife
    1.25 -	cp -a graphics _pkg/usr/share/gtklife
    1.26 -	cp -a patterns _pkg/usr/share/gtklife
    1.27 -	cp gtklife _pkg/usr/games
    1.28 +	mkdir -p $DESTDIR/usr/games $DESTDIR/usr/share/gtklife
    1.29 +	cp -a graphics $DESTDIR/usr/share/gtklife
    1.30 +	cp -a patterns $DESTDIR/usr/share/gtklife
    1.31 +	cp gtklife $DESTDIR/usr/games
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	cp -a $_pkg/* $fs
    1.38 +	cp -a $install/* $fs
    1.39  }
    1.40