wok-next view rogue/receipt @ rev 21079

emacs: update dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 14:46:21 2018 +0200 (2018-12-22)
parents 7506b35e1c6f
children 1336148e4d29
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="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://web.archive.org/web/20160604020207/http://rogue.rogueforge.net/"
11 TARBALL="$PACKAGE$VERSION-src.tar.gz"
12 WGET_URL="http://rogue.rogueforge.net/files/rogue${VERSION%.*}/$TARBALL" # FIXME
14 BUILD_DEPENDS="ncurses-dev"
16 compile_rules() {
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 --enable-wizardmode \
21 --enable-scorefile=/usr/games/rogue.scr \
22 --enable-lockfile=/var/lock/rogue.lck \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules() {
29 mkdir -p $fs/usr/share/rogue
30 mkdir -p $fs/usr/games
31 mkdir -p $fs/usr/share/licenses
32 mkdir -p $fs/usr/share/pixmaps
33 mkdir -p $fs/usr/share/applications
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/games/rogue.scr $fs/usr/games/
36 chmod 666 $fs/usr/games/rogue.scr
37 cp -a $install/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT $fs/usr/share/licenses/rogue.txt
38 cp -a $install/usr/share/doc/$PACKAGE-$VERSION/rogue.html $fs/usr/share/rogue
39 cp -a $src/rogue.png $fs/usr/share/pixmaps
40 sed -i 's/Exec.*/Exec=xterm -e rogue/' $src/rogue.desktop
41 cp -a $src/rogue.desktop $fs/usr/share/applications
42 DEPENDS="ncurses"
43 }