wok view 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 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 BUILD_DEPENDS="ncurses"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 echo '#define LEVELS_PATH "/usr/share/oldrunner"' >> cfg.h
19 export LDFLAGS="$LDFLAGS -ltinfo"
20 ./configure &&
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share $fs/usr/bin $install/usr/man
28 cp -a $src/levels $fs/usr/share/oldrunner
29 cp $src/$PACKAGE-$VERSION $fs/usr/bin/$PACKAGE
30 cp $src/oldrunner.6 $install/usr/man
31 }