wok view freedoom/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (5 weeks ago) |
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 }