wok annotate oldrunner/receipt @ rev 24011

mosh: create /usr/share/terminfo/x/xterm-256color link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 05 17:16:12 2021 +0000 (2021-02-05)
parents 861efbf7a5de
children 241fb98cab1c
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@21730 13 DEPENDS="ncurses"
pascal@21730 14 BUILD_DEPENDS="ncurses-dev"
pascal@21729 15
pascal@21729 16 # Rules to configure and make the package.
pascal@21729 17 compile_rules()
pascal@21729 18 {
pascal@21729 19 echo '#define LEVELS_PATH "/usr/share/oldrunner"' >> cfg.h
pascal@21729 20 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@21729 21 ./configure &&
pascal@21729 22 make
pascal@21729 23 }
pascal@21729 24
pascal@21729 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21729 26 genpkg_rules()
pascal@21729 27 {
pascal@21729 28 mkdir -p $fs/usr/share $fs/usr/bin $install/usr/man
pascal@21729 29 cp -a $src/levels $fs/usr/share/oldrunner
pascal@21729 30 cp $src/$PACKAGE-$VERSION $fs/usr/bin/$PACKAGE
pascal@21729 31 cp $src/oldrunner.6 $install/usr/man
pascal@21729 32 }