wok view rogue/receipt @ rev 21645

updated orc and orc-dev (0.4.18 -> 0.4.29)
author Hans-G?nter Theisgen
date Thu May 30 08:44:12 2019 +0100 (2019-05-30)
parents d3eb5f4b53ea
children 91e30acbe640
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="https://web.archive.org/web/20160604020207/http://rogue.rogueforge.net/"
11 WGET_URL="http://rogue.rogueforge.net/files/rogue${VERSION%.*}/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -ltinfo"
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --enable-wizardmode \
24 --enable-scorefile=/usr/games/rogue.scr \
25 --enable-lockfile=/var/lock/rogue.lck \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/rogue
34 mkdir -p $fs/usr/games
35 mkdir -p $fs/usr/share/licenses
36 mkdir -p $fs/usr/share/pixmaps
37 mkdir -p $fs/usr/share/applications
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/games/rogue.scr $fs/usr/games/
40 chmod 666 $fs/usr/games/rogue.scr
41 cp -a $install/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT $fs/usr/share/licenses/rogue.txt
42 cp -a $install/usr/share/doc/$PACKAGE-$VERSION/rogue.html $fs/usr/share/rogue
43 cp -a $src/rogue.png $fs/usr/share/pixmaps
44 sed -i 's/Exec.*/Exec=xterm -e rogue/' $src/rogue.desktop
45 cp -a $src/rogue.desktop $fs/usr/share/applications
46 }