wok-current view freedoom/receipt @ rev 24569

sokojs: add shrink.sh (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 26 18:46:53 2022 +0000 (2022-02-26)
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 }