wok diff ftgl/receipt @ rev 25164

updated python-antlr (3.5.2 -> 3.5.3)
author Hans-G?nter Theisgen
date Fri Jul 01 10:50:21 2022 +0100 (23 months ago)
parents 3abeffdae80b
children 65784e875d45
line diff
     1.1 --- a/ftgl/receipt	Thu Feb 10 11:43:39 2022 +0000
     1.2 +++ b/ftgl/receipt	Fri Jul 01 10:50:21 2022 +0100
     1.3 @@ -1,17 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ftgl"
     1.7 -VERSION="2.1.3-rc5"
     1.8 +VERSION="2.4.0"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="OpenGL library to use arbitrary fonts"
    1.11 +SHORT_DESC="OpenGL library to use arbitrary fonts."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WEB_SITE="https://sourceforge.net/projects/ftgl/"
    1.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17  
    1.18 -DEPENDS="freetype freeglut mesa libglu-mesa"
    1.19 -BUILD_DEPENDS="$DEPENDS freetype-dev freeglut-dev mesa-dev libglu-mesa-dev"
    1.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.21 +WGET_URL="https://github.com/frankheckenbach/$PACKAGE/archive/v$VERSION.tar.gz"
    1.22 +
    1.23 +DEPENDS="freeglut freetype gcc83-lib-base libglu-mesa mesa"
    1.24 +BUILD_DEPENDS="automake doxygen freeglut-dev freetype-dev gcc83
    1.25 +	libtool libglu-mesa-dev mesa-dev"
    1.26  
    1.27  # What is the latest version available today?
    1.28  current_version()
    1.29 @@ -24,19 +26,21 @@
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	cd $src
    1.34  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
    1.35  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lGL"
    1.36 -	./configure \
    1.37 -		--with-pic \
    1.38 +	
    1.39 +	./autogen.sh &&
    1.40 +	./configure		\
    1.41 +		CC=gcc-83	\
    1.42 +		CXX=g++-83	\
    1.43 +		--with-pic	\
    1.44  		$CONFIGURE_ARGS &&
    1.45 -	make && make DESTDIR=$DESTDIR install
    1.46 +	make &&
    1.47 +	make install DESTDIR=$DESTDIR
    1.48  }
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.51  genpkg_rules()
    1.52  {
    1.53 -	mkdir -p $fs/usr/lib
    1.54 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.55 +	cook_copy_files	*.so*
    1.56  }
    1.57 -