wok rev 24577

updated ftgl and ftgl-dev (2.1.3-rc5 -> 2.4.0)
author Hans-G?nter Theisgen
date Sun Feb 27 11:03:39 2022 +0100 (2022-02-27)
parents d5468918986e
children 8db826af003e
files ftgl-dev/receipt ftgl/description.txt ftgl/receipt
line diff
     1.1 --- a/ftgl-dev/receipt	Sun Feb 27 10:49:46 2022 +0100
     1.2 +++ b/ftgl-dev/receipt	Sun Feb 27 11:03:39 2022 +0100
     1.3 @@ -1,21 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ftgl-dev"
     1.7 -VERSION="2.1.3-rc5"
     1.8 +VERSION="2.4.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="devel files for ftgl"
    1.11 +SHORT_DESC="Development files for ftgl."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://sourceforge.net/projects/ftgl/"
    1.15 -WANTED="ftgl"
    1.16  
    1.17  DEPENDS="ftgl pkg-config"
    1.18 +WANTED="ftgl"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	mkdir -p $fs/usr/lib
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.27 +	cook_copy_folders	include
    1.28 +	cook_copy_folders	pkgconfig
    1.29 +	cook_copy_files		*.*a
    1.30  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ftgl/description.txt	Sun Feb 27 11:03:39 2022 +0100
     2.3 @@ -0,0 +1,10 @@
     2.4 +FTGL is a free open source library to enable developers to use arbitrary
     2.5 +fonts in their OpenGL (www.opengl.org) applications.
     2.6 +
     2.7 +Unlike other OpenGL font libraries FTGL uses standard font file formats
     2.8 +so doesn't need a preprocessing step to convert the high quality font data
     2.9 +into a lesser quality, proprietary format.
    2.10 +
    2.11 +FTGL uses the Freetype (www.freetype.org) font library to open and 'decode'
    2.12 +the fonts. It then takes that output and stores it in a format most efficient
    2.13 +for OpenGL rendering.
     3.1 --- a/ftgl/receipt	Sun Feb 27 10:49:46 2022 +0100
     3.2 +++ b/ftgl/receipt	Sun Feb 27 11:03:39 2022 +0100
     3.3 @@ -1,17 +1,19 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="ftgl"
     3.7 -VERSION="2.1.3-rc5"
     3.8 +VERSION="2.4.0"
     3.9  CATEGORY="x-window"
    3.10 -SHORT_DESC="OpenGL library to use arbitrary fonts"
    3.11 +SHORT_DESC="OpenGL library to use arbitrary fonts."
    3.12  MAINTAINER="slaxemulator@gmail.com"
    3.13  LICENSE="GPL2"
    3.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.15  WEB_SITE="https://sourceforge.net/projects/ftgl/"
    3.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.17  
    3.18 -DEPENDS="freetype freeglut mesa libglu-mesa"
    3.19 -BUILD_DEPENDS="$DEPENDS freetype-dev freeglut-dev mesa-dev libglu-mesa-dev"
    3.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.21 +WGET_URL="https://github.com/frankheckenbach/$PACKAGE/archive/v$VERSION.tar.gz"
    3.22 +
    3.23 +DEPENDS="freeglut freetype gcc83-lib-base libglu-mesa mesa"
    3.24 +BUILD_DEPENDS="automake doxygen freeglut-dev freetype-dev gcc83
    3.25 +	libtool libglu-mesa-dev mesa-dev"
    3.26  
    3.27  # What is the latest version available today?
    3.28  current_version()
    3.29 @@ -24,19 +26,21 @@
    3.30  # Rules to configure and make the package.
    3.31  compile_rules()
    3.32  {
    3.33 -	cd $src
    3.34  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
    3.35  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lGL"
    3.36 -	./configure \
    3.37 -		--with-pic \
    3.38 +	
    3.39 +	./autogen.sh &&
    3.40 +	./configure		\
    3.41 +		CC=gcc-83	\
    3.42 +		CXX=g++-83	\
    3.43 +		--with-pic	\
    3.44  		$CONFIGURE_ARGS &&
    3.45 -	make && make DESTDIR=$DESTDIR install
    3.46 +	make &&
    3.47 +	make install DESTDIR=$DESTDIR
    3.48  }
    3.49  
    3.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.51  genpkg_rules()
    3.52  {
    3.53 -	mkdir -p $fs/usr/lib
    3.54 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.55 +	cook_copy_files	*.so*
    3.56  }
    3.57 -