wok-6.x annotate 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 |
rev | line source |
---|---|
pascal@21729 | 1 # SliTaz package receipt. |
pascal@21729 | 2 |
pascal@21729 | 3 PACKAGE="oldrunner" |
pascal@21729 | 4 VERSION="20120131" |
pascal@21729 | 5 CATEGORY="games" |
pascal@21729 | 6 SHORT_DESC="a text-based remake of Broderbund's Loderunner" |
pascal@21729 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21729 | 8 LICENSE="BSD" |
pascal@21729 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21729 | 10 WEB_SITE="http://culot.org/public/Code/oldrunner.html" |
pascal@21729 | 11 WGET_URL="http://freebsd.sin.openmirrors.asia/pub/FreeBSD/ports/local-distfiles/culot/$TARBALL" |
pascal@21729 | 12 |
pascal@21729 | 13 BUILD_DEPENDS="ncurses" |
pascal@21729 | 14 |
pascal@21729 | 15 # Rules to configure and make the package. |
pascal@21729 | 16 compile_rules() |
pascal@21729 | 17 { |
pascal@21729 | 18 echo '#define LEVELS_PATH "/usr/share/oldrunner"' >> cfg.h |
pascal@21729 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@21729 | 20 ./configure && |
pascal@21729 | 21 make |
pascal@21729 | 22 } |
pascal@21729 | 23 |
pascal@21729 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21729 | 25 genpkg_rules() |
pascal@21729 | 26 { |
pascal@21729 | 27 mkdir -p $fs/usr/share $fs/usr/bin $install/usr/man |
pascal@21729 | 28 cp -a $src/levels $fs/usr/share/oldrunner |
pascal@21729 | 29 cp $src/$PACKAGE-$VERSION $fs/usr/bin/$PACKAGE |
pascal@21729 | 30 cp $src/oldrunner.6 $install/usr/man |
pascal@21729 | 31 } |