wok view oldrunner/receipt @ rev 21747

tazboot: spare 2k
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 14 17:17:16 2019 +0200 (15 months ago)
parents 861efbf7a5de
children
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 }