wok-6.x rev 11731
Up: rogue (5.4.4)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Feb 21 18:31:33 2012 +0100 (2012-02-21) |
parents | ce9fc4bf3954 |
children | 0f6d53916334 |
files | rogue/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rogue/receipt Tue Feb 21 18:31:33 2012 +0100 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="rogue" 1.7 +VERSION="5.4.4" 1.8 +CATEGORY="non-free" 1.9 +SHORT_DESC="The classic dungeon exploration game" 1.10 +MAINTAINER="domcox@slitaz.org" 1.11 +DEPENDS="ncurses" 1.12 +BUILD_DEPENDS="ncurses-dev" 1.13 +TARBALL="$PACKAGE$VERSION-src.tar.gz" 1.14 +WEB_SITE="http://rogue.rogueforge.net/" 1.15 +WGET_URL="http://rogue.rogueforge.net/files/rogue5.4/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 +# mv $WOK/$PACKAGE/$PACKAGE$VERSION $src 1.21 + cd $src 1.22 + ./configure \ 1.23 + --prefix=/usr \ 1.24 + --mandir=/usr/share/man \ 1.25 + --enable-wizardmode \ 1.26 + --enable-scorefile=/usr/games/rogue.scr \ 1.27 + --enable-lockfile=/var/lock/rogue.lck \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && make DESTDIR=$PWD/_pkg install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/share/rogue 1.36 + mkdir -p $fs/usr/games 1.37 + mkdir -p $fs/usr/share/licenses 1.38 + mkdir -p $fs/usr/share/pixmaps 1.39 + mkdir -p $fs/usr/share/applications 1.40 + cp -a $_pkg/usr/bin $fs/usr 1.41 + cp -a $_pkg/usr/games/rogue.scr $fs/usr/games/ 1.42 + chmod 666 $fs/usr/games/rogue.scr 1.43 + cp -a $_pkg/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT $fs/usr/share/licenses/rogue.txt 1.44 + cp -a $_pkg/usr/share/doc/$PACKAGE-$VERSION/rogue.html $fs/usr/share/rogue 1.45 + cp -a $src/rogue.png $fs/usr/share/pixmaps 1.46 + sed -i 's/Exec.*/Exec=xterm -e rogue/' $src/rogue.desktop 1.47 + cp -a $src/rogue.desktop $fs/usr/share/applications 1.48 +} 1.49 +