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