wok view rogue/receipt @ rev 14225
freetype*: up 2.4.11; fontconfig*: up 2.10.91; add freetype-infinality* and fontconfig-infinality; gobject-introspection: up 1.32.1; gtk+3*: up 3.4.4; add gtk3-engine-solidity, gtk3-engine-unico; pixman*: up 0.28.2; add libxklavier, lightdm*; slitaz-i18n: add all existing translations.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 21 16:18:40 2013 +0000 (2013-03-21) |
parents | |
children | 23c3aed67cd9 |
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 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE$VERSION-src.tar.gz"
11 WEB_SITE="http://rogue.rogueforge.net/"
12 WGET_URL="http://rogue.rogueforge.net/files/rogue5.4/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # mv $WOK/$PACKAGE/$PACKAGE$VERSION $src
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --enable-wizardmode \
23 --enable-scorefile=/usr/games/rogue.scr \
24 --enable-lockfile=/var/lock/rogue.lck \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/rogue
33 mkdir -p $fs/usr/games
34 mkdir -p $fs/usr/share/licenses
35 mkdir -p $fs/usr/share/pixmaps
36 mkdir -p $fs/usr/share/applications
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/games/rogue.scr $fs/usr/games/
39 chmod 666 $fs/usr/games/rogue.scr
40 cp -a $_pkg/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT $fs/usr/share/licenses/rogue.txt
41 cp -a $_pkg/usr/share/doc/$PACKAGE-$VERSION/rogue.html $fs/usr/share/rogue
42 cp -a $src/rogue.png $fs/usr/share/pixmaps
43 sed -i 's/Exec.*/Exec=xterm -e rogue/' $src/rogue.desktop
44 cp -a $src/rogue.desktop $fs/usr/share/applications
45 }