wok-next rev 21472
tuxmath: modified sdl dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 13 10:40:23 2020 +0100 (2020-05-13) |
parents | 572ada3782f0 |
children | e5d0942bb3d9 |
files | tuxmath/receipt |
line diff
1.1 --- a/tuxmath/receipt Wed May 13 09:30:44 2020 +0100 1.2 +++ b/tuxmath/receipt Wed May 13 10:40:23 2020 +0100 1.3 @@ -1,40 +1,46 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="tuxmath" 1.7 -SOURCE="tuxmath_w_fonts" 1.8 VERSION="2.0.3" 1.9 CATEGORY="games" 1.10 +TAGS="education" 1.11 SHORT_DESC="Arcade game that helps kids practice their math facts" 1.12 MAINTAINER="claudinei@slitaz.org" 1.13 LICENSE="GPL3" 1.14 WEB_SITE="https://alioth-archive.debian.org/releases/tux4kids/TuxMath-Source/" 1.15 1.16 +SOURCE="tuxmath_w_fonts" 1.17 TARBALL="$SOURCE-$VERSION.tar.gz" 1.18 -WGET_URL="https://alioth.debian.org/frs/download.php/3571/$TARBALL" 1.19 +WGET_URL="https://alioth-archive.debian.org/releases/tux4kids/TuxMath-Source/TuxMath-Source-$VERSION/$TARBALL" 1.20 1.21 -BUILD_DEPENDS="libt4k_common-dev sdl-dev librsvg-dev sdl-image-dev \ 1.22 -sdl-mixer-dev sdl-ttf-dev sdl-net-dev sdl-pango-dev" 1.23 +BUILD_DEPENDS="librsvg-dev libsdl-dev libsdl-image-dev libsdl-mixer-dev 1.24 + libsdl-net-dev libsdl-pango-dev libsdl-ttf-dev libt4k_common-dev " 1.25 1.26 -compile_rules() { 1.27 - ./configure \ 1.28 - LIBS="-lt4k_common" \ 1.29 - --prefix=/usr \ 1.30 +compile_rules() 1.31 +{ 1.32 + ./configure \ 1.33 + LIBS="-lt4k_common" \ 1.34 + --prefix=/usr \ 1.35 $CONFIGURE_ARGS && 1.36 make && 1.37 make DESTDIR=$install install 1.38 } 1.39 1.40 -genpkg_rules() { 1.41 - mkdir -p $fs/usr $fs/usr/share 1.42 - cp -a $install/usr/bin $fs/usr 1.43 - cp -a $install/usr/share/tuxmath $fs/usr/share 1.44 +genpkg_rules() 1.45 +{ 1.46 + mkdir -p $fs/usr 1.47 + mkdir -p $fs/usr/share 1.48 1.49 - for lang in de es fr pt_BR zh_CN; do 1.50 + cp -a $install/usr/bin $fs/usr 1.51 + cp -a $install/usr/share/tuxmath $fs/usr/share 1.52 + 1.53 + for lang in de es fr pt_BR zh_CN 1.54 + do 1.55 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES 1.56 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \ 1.57 $fs/usr/share/locale/$lang/LC_MESSAGES 1.58 - done 1.59 - DEPENDS="libt4k_common sdl librsvg sdl-image sdl-mixer sdl-ttf \ 1.60 - sdl-net sdl-pango" 1.61 - TAGS="education" 1.62 + done 1.63 + 1.64 + DEPENDS="librsvg libsdl libsdl-image libsdl-mixer libsdl-net libsdl-pango 1.65 + libsdl-ttf libt4k_common" 1.66 }