wok diff rogue/receipt @ rev 13269
memtest: compression (-76K)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 19 08:06:36 2012 +0200 (2012-08-19) |
parents | |
children | 23c3aed67cd9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rogue/receipt Sun Aug 19 08:06:36 2012 +0200 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 +