wok-next diff nethack/receipt @ rev 20963
Add hackdorte-artwork and remove appropriate old packages with dead homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 08 15:02:14 2018 +0300 (2018-09-08) |
parents | 466bca9334ef |
children | d5aab818505e |
line diff
1.1 --- a/nethack/receipt Tue Oct 17 10:14:12 2017 +0200 1.2 +++ b/nethack/receipt Sat Sep 08 15:02:14 2018 +0300 1.3 @@ -1,37 +1,36 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="nethack" 1.8 VERSION="3.4.3" 1.9 CATEGORY="games" 1.10 -SHORT_DESC="NetHack is a single player dungeon exploration game." 1.11 +SHORT_DESC="NetHack is a single player dungeon exploration game" 1.12 MAINTAINER="claudinei@slitaz.org" 1.13 -LICENSE="nethack" 1.14 +LICENSE="custom" 1.15 +WEB_SITE="http://www.nethack.org" 1.16 + 1.17 TARBALL="$PACKAGE-343-src.tgz" 1.18 -WEB_SITE="http://www.nethack.org" 1.19 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.20 1.21 -DEPENDS="ncurses" 1.22 BUILD_DEPENDS="ncurses-dev bison flex" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +compile_rules() { 1.28 sh sys/unix/setup.sh x 1.29 sed -i "s|\/\* #define LINUX \*\/|#define LINUX|" include/unixconf.h 1.30 sed -i "s|WINTTYLIB = -ltermlib|# WINTTYLIB = -ltermlib|" src/Makefile 1.31 sed -i "s|# WINTTYLIB = -lncurses|WINTTYLIB = -lncurses|" src/Makefile 1.32 - sed -i "s|= /usr|= $DESTDIR/usr|" Makefile 1.33 + sed -i "s|= /usr|= $DESTDIR/usr|" Makefile 1.34 sed -i "s|= games|= root|" Makefile 1.35 sed -i "s|= bin|= root|" Makefile 1.36 sed -i '/rmdir \.\/-p/d' Makefile 1.37 make && make install 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs/usr/lib $fs/usr/bin 1.44 - cp -a $install/usr/games/nethack $fs/usr/bin 1.45 - cp -a $install/usr/games/lib/nethackdir $fs/usr/lib 1.46 +genpkg_rules() { 1.47 + mkdir -p \ 1.48 + $fs/usr/lib/ \ 1.49 + $fs/usr/bin/ 1.50 + cp -a $install/usr/games/nethack $fs/usr/bin/ 1.51 + cp -a $install/usr/games/lib/nethackdir $fs/usr/lib/ 1.52 sed -i "s|$install/usr/games|/usr|" $fs/usr/bin/nethack 1.53 + DEPENDS="ncurses" 1.54 }