wok-current diff oldrunner/receipt @ rev 21729
Add npush & oldrunner
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 12 18:55:55 2019 +0200 (2019-06-12) |
parents | |
children | c101210f8efc |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/oldrunner/receipt Wed Jun 12 18:55:55 2019 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="oldrunner" 1.7 +VERSION="20120131" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="a text-based remake of Broderbund's Loderunner" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="BSD" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://culot.org/public/Code/oldrunner.html" 1.14 +WGET_URL="http://freebsd.sin.openmirrors.asia/pub/FreeBSD/ports/local-distfiles/culot/$TARBALL" 1.15 + 1.16 +BUILD_DEPENDS="ncurses" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + echo '#define LEVELS_PATH "/usr/share/oldrunner"' >> cfg.h 1.22 + export LDFLAGS="$LDFLAGS -ltinfo" 1.23 + ./configure && 1.24 + make 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/share $fs/usr/bin $install/usr/man 1.31 + cp -a $src/levels $fs/usr/share/oldrunner 1.32 + cp $src/$PACKAGE-$VERSION $fs/usr/bin/$PACKAGE 1.33 + cp $src/oldrunner.6 $install/usr/man 1.34 +}