wok-current view oldrunner/receipt @ rev 24217

updated perl-html-parser (3.72 -> 3.76)
author Hans-G?nter Theisgen
date Fri Dec 31 16:34:31 2021 +0100 (2021-12-31)
parents 861efbf7a5de
children 241fb98cab1c
line source
1 # SliTaz package receipt.
3 PACKAGE="oldrunner"
4 VERSION="20120131"
5 CATEGORY="games"
6 SHORT_DESC="a text-based remake of Broderbund's Loderunner"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://culot.org/public/Code/oldrunner.html"
11 WGET_URL="http://freebsd.sin.openmirrors.asia/pub/FreeBSD/ports/local-distfiles/culot/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 echo '#define LEVELS_PATH "/usr/share/oldrunner"' >> cfg.h
20 export LDFLAGS="$LDFLAGS -ltinfo"
21 ./configure &&
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share $fs/usr/bin $install/usr/man
29 cp -a $src/levels $fs/usr/share/oldrunner
30 cp $src/$PACKAGE-$VERSION $fs/usr/bin/$PACKAGE
31 cp $src/oldrunner.6 $install/usr/man
32 }