wok diff libsdl2-ttf/receipt @ rev 25492

Up foomatic-db (4.0-20221117)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 18 09:54:27 2022 +0000 (2022-11-18)
parents ede1d184d5c5
children 5db546345599
line diff
     1.1 --- a/libsdl2-ttf/receipt	Mon Feb 14 17:51:14 2022 +0000
     1.2 +++ b/libsdl2-ttf/receipt	Fri Nov 18 09:54:27 2022 +0000
     1.3 @@ -1,19 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libsdl2-ttf"
     1.7 -VERSION="2.0.15"
     1.8 +VERSION="2.0.18"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="SDL2 ttf support."
    1.11  MAINTAINER="tcg.thegamer@gmail.com"
    1.12 -LICENSE="LGPL2.1"
    1.13 -WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
    1.14 +LICENSE="Zlib"
    1.15 +WEB_SITE="https://github.com/libsdl-org/SDL_ttf"
    1.16  
    1.17  SOURCE="SDL2_ttf"
    1.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.19 -WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
    1.20 +WGET_URL="$WEB_SITE/archive/refs/tags/release-$VERSION.tar.gz"
    1.21  
    1.22 -DEPENDS="freetype libsdl2 zlib"
    1.23 -BUILD_DEPENDS="freetype-dev libsdl2-dev"
    1.24 +DEPENDS="freetype gcc83-lib-base libsdl2 zlib"
    1.25 +BUILD_DEPENDS="freetype-dev gcc83 libsdl2-dev"
    1.26  
    1.27  HOST_ARCH="i486 arm"
    1.28  
    1.29 @@ -27,14 +27,16 @@
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	./configure $CONFIGURE_ARGS &&
    1.34 -	make -j 1 &&
    1.35 +	./configure		\
    1.36 +		CC=gcc-83	\
    1.37 +		CXX=g++-83	\
    1.38 +		$CONFIGURE_ARGS &&
    1.39 +	make &&
    1.40  	make install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/usr/lib
    1.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.48 +	cook_copy_files	*.so*
    1.49  }