wok-next diff chocolate-doom/receipt @ rev 20617
Fix build xchat, xchat-plugin, xget, xine-plugin; xorg-xf86-video-geode isn't compatible with 64-bit arch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 21 13:54:55 2018 +0300 (2018-04-21) |
parents | 42e0165c64b9 |
children | d5aab818505e |
line diff
1.1 --- a/chocolate-doom/receipt Tue Jul 12 15:00:21 2016 +0300 1.2 +++ b/chocolate-doom/receipt Sat Apr 21 13:54:55 2018 +0300 1.3 @@ -1,32 +1,34 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="chocolate-doom" 1.8 VERSION="1.4.0" 1.9 CATEGORY="games" 1.10 -SHORT_DESC="Doom source port as close as possible to vanilla Doom." 1.11 +SHORT_DESC="Doom source port as close as possible to vanilla Doom" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="http://$PACKAGE.sourceforge.net/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 1.19 DEPENDS="libsdl libsdl-mixer libsdl-net libsamplerate" 1.20 -BUILD_DEPENDS="libsdl-mixer-dev libsdl-net-dev libsdl-dev" 1.21 +BUILD_DEPENDS="libsdl-mixer-dev libsdl-net-dev libsdl-dev libsamplerate-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" 1.28 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.29 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.30 - make $MAKEFLAGS 1.31 + ./configure \ 1.32 + --prefix=/usr \ 1.33 + --infodir=/usr/share/info \ 1.34 + --mandir=/usr/share/man \ 1.35 + $CONFIGURE_ARGS && 1.36 + make $MAKEFLAGS || return 1 1.37 + 1.38 + mkdir -p $install/usr/bin $install/usr/share/games/doom 1.39 + cp $src/src/chocolate-doom $install/usr/bin 1.40 1.41 cook_pick_manpages man/*.5 man/*.6 1.42 } 1.43 1.44 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 -genpkg_rules() 1.46 -{ 1.47 - mkdir -p $fs/usr/bin $fs/usr/share/games/doom 1.48 - cp $src/src/chocolate-doom $fs/usr/bin 1.49 +genpkg_rules() { 1.50 + copy @std 1.51 }