wok-current diff rogue/receipt @ rev 16660

Add missing licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 14 06:47:26 2014 +0000 (2014-05-14)
parents 1aafafcf0586
children 4ae0fc492374
line diff
     1.1 --- a/rogue/receipt	Tue Feb 21 18:31:33 2012 +0100
     1.2 +++ b/rogue/receipt	Wed May 14 06:47:26 2014 +0000
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="non-free"
     1.5  SHORT_DESC="The classic dungeon exploration game"
     1.6  MAINTAINER="domcox@slitaz.org"
     1.7 -DEPENDS="ncurses"
     1.8 -BUILD_DEPENDS="ncurses-dev"
     1.9 +LICENSE="BSD"
    1.10  TARBALL="$PACKAGE$VERSION-src.tar.gz"
    1.11  WEB_SITE="http://rogue.rogueforge.net/"
    1.12  WGET_URL="http://rogue.rogueforge.net/files/rogue5.4/$TARBALL"
    1.13  
    1.14 +DEPENDS="ncurses"
    1.15 +BUILD_DEPENDS="ncurses-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -23,7 +25,7 @@
    1.21  		--enable-scorefile=/usr/games/rogue.scr \
    1.22  		--enable-lockfile=/var/lock/rogue.lck \
    1.23  		$CONFIGURE_ARGS &&
    1.24 -	make && make DESTDIR=$PWD/_pkg install
    1.25 +	make && make DESTDIR=$DESTDIR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 @@ -34,11 +36,11 @@
    1.30  	mkdir -p $fs/usr/share/licenses
    1.31  	mkdir -p $fs/usr/share/pixmaps
    1.32  	mkdir -p $fs/usr/share/applications
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 -	cp -a $_pkg/usr/games/rogue.scr $fs/usr/games/
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +	cp -a $install/usr/games/rogue.scr $fs/usr/games/
    1.37  	chmod 666 $fs/usr/games/rogue.scr
    1.38 -	cp -a $_pkg/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT $fs/usr/share/licenses/rogue.txt
    1.39 -	cp -a $_pkg/usr/share/doc/$PACKAGE-$VERSION/rogue.html $fs/usr/share/rogue
    1.40 +	cp -a $install/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT $fs/usr/share/licenses/rogue.txt
    1.41 +	cp -a $install/usr/share/doc/$PACKAGE-$VERSION/rogue.html $fs/usr/share/rogue
    1.42  	cp -a $src/rogue.png $fs/usr/share/pixmaps
    1.43  	sed -i 's/Exec.*/Exec=xterm -e rogue/' $src/rogue.desktop
    1.44  	cp -a $src/rogue.desktop $fs/usr/share/applications