wok-current view oldrunner/receipt @ rev 21733
updated pv (1.1.4 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 13 13:27:36 2019 +0100 (2019-06-13) |
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 }