wok annotate rogue/receipt @ rev 18063
syslinux: fix iso2exe -u
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 18 10:09:16 2015 +0200 (2015-05-18) |
parents | 4ae0fc492374 |
children | 6135577f4d08 |
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/" |
pascal@17869 | 11 WGET_URL="http://rogue.rogueforge.net/files/rogue${VERSION%.*}/$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 { |
pascal@17676 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
domcox@11731 | 20 ./configure \ |
domcox@11731 | 21 --prefix=/usr \ |
domcox@11731 | 22 --mandir=/usr/share/man \ |
domcox@11731 | 23 --enable-wizardmode \ |
domcox@11731 | 24 --enable-scorefile=/usr/games/rogue.scr \ |
domcox@11731 | 25 --enable-lockfile=/var/lock/rogue.lck \ |
domcox@11731 | 26 $CONFIGURE_ARGS && |
pascal@15601 | 27 make && make DESTDIR=$DESTDIR install |
domcox@11731 | 28 } |
domcox@11731 | 29 |
domcox@11731 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@11731 | 31 genpkg_rules() |
domcox@11731 | 32 { |
domcox@11731 | 33 mkdir -p $fs/usr/share/rogue |
domcox@11731 | 34 mkdir -p $fs/usr/games |
domcox@11731 | 35 mkdir -p $fs/usr/share/licenses |
domcox@11731 | 36 mkdir -p $fs/usr/share/pixmaps |
domcox@11731 | 37 mkdir -p $fs/usr/share/applications |
pascal@15601 | 38 cp -a $install/usr/bin $fs/usr |
pascal@15601 | 39 cp -a $install/usr/games/rogue.scr $fs/usr/games/ |
domcox@11731 | 40 chmod 666 $fs/usr/games/rogue.scr |
pascal@15601 | 41 cp -a $install/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT $fs/usr/share/licenses/rogue.txt |
pascal@15601 | 42 cp -a $install/usr/share/doc/$PACKAGE-$VERSION/rogue.html $fs/usr/share/rogue |
domcox@11731 | 43 cp -a $src/rogue.png $fs/usr/share/pixmaps |
domcox@11731 | 44 sed -i 's/Exec.*/Exec=xterm -e rogue/' $src/rogue.desktop |
domcox@11731 | 45 cp -a $src/rogue.desktop $fs/usr/share/applications |
domcox@11731 | 46 } |