wok annotate rogue/receipt @ rev 16209
Add rosegarden
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 31 09:16:15 2014 +0000 (2014-03-31) |
parents | 1aafafcf0586 |
children | 4ae0fc492374 |
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" |
pascal@15601 | 8 LICENSE="BSD" |
domcox@11731 | 9 TARBALL="$PACKAGE$VERSION-src.tar.gz" |
domcox@11731 | 10 WEB_SITE="http://rogue.rogueforge.net/" |
domcox@11731 | 11 WGET_URL="http://rogue.rogueforge.net/files/rogue5.4/$TARBALL" |
domcox@11731 | 12 |
pascal@15601 | 13 DEPENDS="ncurses" |
pascal@15601 | 14 BUILD_DEPENDS="ncurses-dev" |
pascal@15601 | 15 |
domcox@11731 | 16 # Rules to configure and make the package. |
domcox@11731 | 17 compile_rules() |
domcox@11731 | 18 { |
domcox@11731 | 19 # mv $WOK/$PACKAGE/$PACKAGE$VERSION $src |
domcox@11731 | 20 cd $src |
domcox@11731 | 21 ./configure \ |
domcox@11731 | 22 --prefix=/usr \ |
domcox@11731 | 23 --mandir=/usr/share/man \ |
domcox@11731 | 24 --enable-wizardmode \ |
domcox@11731 | 25 --enable-scorefile=/usr/games/rogue.scr \ |
domcox@11731 | 26 --enable-lockfile=/var/lock/rogue.lck \ |
domcox@11731 | 27 $CONFIGURE_ARGS && |
pascal@15601 | 28 make && make DESTDIR=$DESTDIR install |
domcox@11731 | 29 } |
domcox@11731 | 30 |
domcox@11731 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@11731 | 32 genpkg_rules() |
domcox@11731 | 33 { |
domcox@11731 | 34 mkdir -p $fs/usr/share/rogue |
domcox@11731 | 35 mkdir -p $fs/usr/games |
domcox@11731 | 36 mkdir -p $fs/usr/share/licenses |
domcox@11731 | 37 mkdir -p $fs/usr/share/pixmaps |
domcox@11731 | 38 mkdir -p $fs/usr/share/applications |
pascal@15601 | 39 cp -a $install/usr/bin $fs/usr |
pascal@15601 | 40 cp -a $install/usr/games/rogue.scr $fs/usr/games/ |
domcox@11731 | 41 chmod 666 $fs/usr/games/rogue.scr |
pascal@15601 | 42 cp -a $install/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT $fs/usr/share/licenses/rogue.txt |
pascal@15601 | 43 cp -a $install/usr/share/doc/$PACKAGE-$VERSION/rogue.html $fs/usr/share/rogue |
domcox@11731 | 44 cp -a $src/rogue.png $fs/usr/share/pixmaps |
domcox@11731 | 45 sed -i 's/Exec.*/Exec=xterm -e rogue/' $src/rogue.desktop |
domcox@11731 | 46 cp -a $src/rogue.desktop $fs/usr/share/applications |
domcox@11731 | 47 } |
domcox@11731 | 48 |