wok-6.x annotate rogue/receipt @ rev 12406
Add the missing piece to have a working Compiz 3D desktop: Emerald windo decorator
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 20 18:02:26 2012 +0200 (2012-04-20) |
parents | |
children | 23c3aed67cd9 |
rev | line source |
---|---|
domcox@11731 | 1 # SliTaz package receipt. |
domcox@11731 | 2 |
domcox@11731 | 3 PACKAGE="rogue" |
domcox@11731 | 4 VERSION="5.4.4" |
domcox@11731 | 5 CATEGORY="non-free" |
domcox@11731 | 6 SHORT_DESC="The classic dungeon exploration game" |
domcox@11731 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@11731 | 8 DEPENDS="ncurses" |
domcox@11731 | 9 BUILD_DEPENDS="ncurses-dev" |
domcox@11731 | 10 TARBALL="$PACKAGE$VERSION-src.tar.gz" |
domcox@11731 | 11 WEB_SITE="http://rogue.rogueforge.net/" |
domcox@11731 | 12 WGET_URL="http://rogue.rogueforge.net/files/rogue5.4/$TARBALL" |
domcox@11731 | 13 |
domcox@11731 | 14 # Rules to configure and make the package. |
domcox@11731 | 15 compile_rules() |
domcox@11731 | 16 { |
domcox@11731 | 17 # mv $WOK/$PACKAGE/$PACKAGE$VERSION $src |
domcox@11731 | 18 cd $src |
domcox@11731 | 19 ./configure \ |
domcox@11731 | 20 --prefix=/usr \ |
domcox@11731 | 21 --mandir=/usr/share/man \ |
domcox@11731 | 22 --enable-wizardmode \ |
domcox@11731 | 23 --enable-scorefile=/usr/games/rogue.scr \ |
domcox@11731 | 24 --enable-lockfile=/var/lock/rogue.lck \ |
domcox@11731 | 25 $CONFIGURE_ARGS && |
domcox@11731 | 26 make && make DESTDIR=$PWD/_pkg install |
domcox@11731 | 27 } |
domcox@11731 | 28 |
domcox@11731 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@11731 | 30 genpkg_rules() |
domcox@11731 | 31 { |
domcox@11731 | 32 mkdir -p $fs/usr/share/rogue |
domcox@11731 | 33 mkdir -p $fs/usr/games |
domcox@11731 | 34 mkdir -p $fs/usr/share/licenses |
domcox@11731 | 35 mkdir -p $fs/usr/share/pixmaps |
domcox@11731 | 36 mkdir -p $fs/usr/share/applications |
domcox@11731 | 37 cp -a $_pkg/usr/bin $fs/usr |
domcox@11731 | 38 cp -a $_pkg/usr/games/rogue.scr $fs/usr/games/ |
domcox@11731 | 39 chmod 666 $fs/usr/games/rogue.scr |
domcox@11731 | 40 cp -a $_pkg/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT $fs/usr/share/licenses/rogue.txt |
domcox@11731 | 41 cp -a $_pkg/usr/share/doc/$PACKAGE-$VERSION/rogue.html $fs/usr/share/rogue |
domcox@11731 | 42 cp -a $src/rogue.png $fs/usr/share/pixmaps |
domcox@11731 | 43 sed -i 's/Exec.*/Exec=xterm -e rogue/' $src/rogue.desktop |
domcox@11731 | 44 cp -a $src/rogue.desktop $fs/usr/share/applications |
domcox@11731 | 45 } |
domcox@11731 | 46 |