wok-next diff freedoom/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 3b4e4318134e |
children | 73e0fb4ca869 |
line diff
1.1 --- a/freedoom/receipt Tue Dec 03 18:28:51 2013 +0000 1.2 +++ b/freedoom/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -3,8 +3,8 @@ 1.4 PACKAGE="freedoom" 1.5 VERSION="0.7" 1.6 CATEGORY="games" 1.7 -SHORT_DESC="completely free Doom IWADS (game data)" 1.8 -MAINTAINER="slaxemulator@gmail.com" 1.9 +SHORT_DESC="Completely free Doom IWADS (game data)" 1.10 +MAINTAINER="devel@slitaz.org" 1.11 LICENSE="BSD" 1.12 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 WEB_SITE="http://www.nongnu.org/freedoom/" 1.14 @@ -12,18 +12,14 @@ 1.15 1.16 BUILD_DEPENDS="deutex-devel python git ghostscript imagemagick" 1.17 1.18 -# Rules to configure and make the package. 1.19 -compile_rules() 1.20 -{ 1.21 - cd $src 1.22 - make -j1 1.23 - mkdir -p $DESTDIR/usr/share/games/doom 1.24 - cp -a $src/wads/*.wad $DESTDIR/usr/share/games/doom 1.25 +compile_rules() { 1.26 + make -j1 || return 1 1.27 + 1.28 + mkdir -p $install/usr/share/games/doom 1.29 + cp -a $src/wads/*.wad $install/usr/share/games/doom 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 +genpkg_rules() { 1.36 mkdir -p $fs/usr 1.37 cp -a $install/usr/share $fs/usr 1.38 }