wok-6.x view freedoom/receipt @ rev 24213

updated perl-file-which (1.23 -> 1.27)
author Hans-G?nter Theisgen
date Fri Dec 31 16:19:09 2021 +0100 (2021-12-31)
parents a97ead9caebd
children
line source
1 # SliTaz package receipt.
3 PACKAGE="freedoom"
4 VERSION="0.8"
5 CATEGORY="games"
6 SHORT_DESC="completely free Doom IWADS (game data)"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-v$VERSION.tar.gz"
10 WEB_SITE="http://www.nongnu.org/freedoom/"
11 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/source/$TARBALL"
13 BUILD_DEPENDS="deutex-devel python git ghostscript imagemagick htmldoc"
15 current_version()
16 {
17 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
18 sed "/$PACKAGE-v*[0-9]/!d;/tar/!d;/-rc/d;/-beta/d;s|.*$PACKAGE-v*\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 make -j1
26 mkdir -p $DESTDIR/usr/share/games/doom
27 cp -a $src/wads/*.wad $DESTDIR/usr/share/games/doom
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/share $fs/usr
35 }