wok annotate freedoom/receipt @ rev 18422
naim: rece condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 21 11:28:06 2015 +0200 (2015-09-21) |
parents | c16b99eee970 |
children | 71aed96e697c |
rev | line source |
---|---|
slaxemulator@9276 | 1 # SliTaz package receipt. |
slaxemulator@9276 | 2 |
slaxemulator@9276 | 3 PACKAGE="freedoom" |
slaxemulator@9276 | 4 VERSION="0.7" |
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" |
slaxemulator@9276 | 9 TARBALL="$PACKAGE-$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 |
pascal@15593 | 13 BUILD_DEPENDS="deutex-devel python git ghostscript imagemagick" |
pascal@15593 | 14 |
slaxemulator@9276 | 15 # Rules to configure and make the package. |
slaxemulator@9276 | 16 compile_rules() |
slaxemulator@9276 | 17 { |
slaxemulator@9276 | 18 cd $src |
slaxemulator@9276 | 19 make -j1 |
slaxemulator@9277 | 20 mkdir -p $DESTDIR/usr/share/games/doom |
slaxemulator@9277 | 21 cp -a $src/wads/*.wad $DESTDIR/usr/share/games/doom |
slaxemulator@9276 | 22 } |
slaxemulator@9276 | 23 |
slaxemulator@9276 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9276 | 25 genpkg_rules() |
slaxemulator@9276 | 26 { |
slaxemulator@9276 | 27 mkdir -p $fs/usr |
pascal@15593 | 28 cp -a $install/usr/share $fs/usr |
slaxemulator@9276 | 29 } |
slaxemulator@9276 | 30 |