wok view rogue/receipt @ rev 16568
spacefm: remove ash hardcode edit
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Thu May 01 21:16:08 2014 +0000 (2014-05-01) |
parents | 1aafafcf0586 |
children | 4ae0fc492374 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rogue"
4 VERSION="5.4.4"
5 CATEGORY="non-free"
6 SHORT_DESC="The classic dungeon exploration game"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE$VERSION-src.tar.gz"
10 WEB_SITE="http://rogue.rogueforge.net/"
11 WGET_URL="http://rogue.rogueforge.net/files/rogue5.4/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # mv $WOK/$PACKAGE/$PACKAGE$VERSION $src
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --enable-wizardmode \
25 --enable-scorefile=/usr/games/rogue.scr \
26 --enable-lockfile=/var/lock/rogue.lck \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/rogue
35 mkdir -p $fs/usr/games
36 mkdir -p $fs/usr/share/licenses
37 mkdir -p $fs/usr/share/pixmaps
38 mkdir -p $fs/usr/share/applications
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/games/rogue.scr $fs/usr/games/
41 chmod 666 $fs/usr/games/rogue.scr
42 cp -a $install/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT $fs/usr/share/licenses/rogue.txt
43 cp -a $install/usr/share/doc/$PACKAGE-$VERSION/rogue.html $fs/usr/share/rogue
44 cp -a $src/rogue.png $fs/usr/share/pixmaps
45 sed -i 's/Exec.*/Exec=xterm -e rogue/' $src/rogue.desktop
46 cp -a $src/rogue.desktop $fs/usr/share/applications
47 }