wok annotate oldrunner/receipt @ rev 25004

updated ntfs-3g and ntfs-3g-dev (2017.3.23 -> 2021.8.22)
author Hans-G?nter Theisgen
date Mon May 16 16:20:40 2022 +0100 (2022-05-16)
parents c101210f8efc
children df63c4ce07f8
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@24453 16 # What is the latest version available today?
pascal@24453 17 current_version()
pascal@24453 18 {
pascal@24453 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24453 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24453 21 }
pascal@24453 22
pascal@21729 23 # Rules to configure and make the package.
pascal@21729 24 compile_rules()
pascal@21729 25 {
pascal@21729 26 echo '#define LEVELS_PATH "/usr/share/oldrunner"' >> cfg.h
pascal@21729 27 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@21729 28 ./configure &&
pascal@21729 29 make
pascal@21729 30 }
pascal@21729 31
pascal@21729 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21729 33 genpkg_rules()
pascal@21729 34 {
pascal@21729 35 mkdir -p $fs/usr/share $fs/usr/bin $install/usr/man
pascal@21729 36 cp -a $src/levels $fs/usr/share/oldrunner
pascal@21729 37 cp $src/$PACKAGE-$VERSION $fs/usr/bin/$PACKAGE
pascal@21729 38 cp $src/oldrunner.6 $install/usr/man
pascal@21729 39 }