wok rev 24563

updated freeglut and freeglut-dev (3.2.1 -> 3.2.2)
author Hans-G?nter Theisgen
date Fri Feb 25 17:38:01 2022 +0100 (2022-02-25)
parents 8091caa34c54
children c11594098e34
files freeglut-dev/receipt freeglut/description.txt freeglut/receipt
line diff
     1.1 --- a/freeglut-dev/receipt	Fri Feb 25 16:44:38 2022 +0100
     1.2 +++ b/freeglut-dev/receipt	Fri Feb 25 17:38:01 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="freeglut-dev"
     1.7 -VERSION="3.2.1"
     1.8 +VERSION="3.2.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="OpenGL utility toolkit - development files."
    1.11  MAINTAINER="b1+slitaz@nagel.org"
    1.12 @@ -13,8 +13,7 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/lib
    1.17 -
    1.18 -	cp -a $install/usr/lib/*.*a	$fs/usr/lib
    1.19 -	cp -a $install/usr/include	$fs/usr
    1.20 +	cook_copy_folders	include
    1.21 +	cook_copy_folders	pkgconfig
    1.22 +	cook_copy_files		*.*a
    1.23  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/freeglut/description.txt	Fri Feb 25 17:38:01 2022 +0100
     2.3 @@ -0,0 +1,10 @@
     2.4 +Freeglut is a free-software and open-source alternative to the OpenGL
     2.5 +Utility Toolkit (GLUT) library.
     2.6 +GLUT was originally written by Mark Kilgard to support the sample
     2.7 +programs in the second edition OpenGL 'RedBook'. Since then, GLUT has
     2.8 +been used in a wide variety of practical applications because it is
     2.9 +simple, widely available and highly portable.
    2.10 +
    2.11 +GLUT (and hence freeglut) takes care of all the system-specific chores
    2.12 +required for creating windows, initializing OpenGL contexts, and
    2.13 +handling input events, to allow for truely portable OpenGL programs.
     3.1 --- a/freeglut/receipt	Fri Feb 25 16:44:38 2022 +0100
     3.2 +++ b/freeglut/receipt	Fri Feb 25 17:38:01 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="freeglut"
     3.7 -VERSION="3.2.1"
     3.8 +VERSION="3.2.2"
     3.9  CATEGORY="x-window"
    3.10  SHORT_DESC="OpenGL utility toolkit."
    3.11  MAINTAINER="b1+slitaz@nagel.org"
    3.12 @@ -12,8 +12,8 @@
    3.13  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.14  
    3.15  SUGGESTED="nvidia"
    3.16 -DEPENDS="glibc-base libdrm mesa libglu-mesa \
    3.17 -	xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \
    3.18 +DEPENDS="glibc-base libdrm mesa libglu-mesa
    3.19 +	xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp
    3.20  	xorg-libXext xorg-libXfixes xorg-libXi xorg-libXxf86vm"
    3.21  BUILD_DEPENDS="cmake libglu-mesa libglu-mesa-dev libxcb-dev mesa mesa-dev 
    3.22  	xorg-inputproto xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev 
    3.23 @@ -39,15 +39,17 @@
    3.24  #	patch -p0 -i $stuff/2.6.0-GFX_radeon.patch
    3.25  #	sed -i 's/-Werror//' configure
    3.26  
    3.27 -	cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
    3.28 +	mkdir	_build &&
    3.29 +	cd	_build &&
    3.30 +	cmake	..				\
    3.31 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    3.32  #	sed -i '/XF86VMODE/d' config.status
    3.33 -	make -j 1 &&
    3.34 -	make DESTDIR=$DESTDIR install
    3.35 +	make &&
    3.36 +	make install DESTDIR=$DESTDIR
    3.37  }
    3.38  
    3.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.40  genpkg_rules()
    3.41  {
    3.42 -	mkdir -p $fs/usr/lib
    3.43 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.44 +	cook_copy_files	*.so*
    3.45  }