wok diff ftgl/receipt @ rev 24689

updated jp2a (1.0.9 -> 1.1.1)
author Hans-G?nter Theisgen
date Sat Mar 12 13:47:37 2022 +0100 (2022-03-12)
parents 3abeffdae80b
children 65784e875d45
line diff
     1.1 --- a/ftgl/receipt	Thu Feb 10 11:43:39 2022 +0000
     1.2 +++ b/ftgl/receipt	Sat Mar 12 13:47:37 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 -