wok rev 20937

updated freeglut and freeglut-dev (2.6.0 -> 3.0.0)
author Hans-G?nter Theisgen
date Sat Mar 02 17:32:25 2019 +0100 (2019-03-02)
parents 94ddf62c060b
children 709441284259
files freeglut-dev/receipt freeglut/receipt
line diff
     1.1 --- a/freeglut-dev/receipt	Sat Mar 02 16:28:51 2019 +0100
     1.2 +++ b/freeglut-dev/receipt	Sat Mar 02 17:32:25 2019 +0100
     1.3 @@ -1,12 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="freeglut-dev"
     1.7 -VERSION="2.6.0"
     1.8 +VERSION="3.0.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="OpenGL utility toolkit development files."
    1.11  MAINTAINER="b1+slitaz@nagel.org"
    1.12  LICENSE="GPL"
    1.13  WEB_SITE="http://freeglut.sourceforge.net/"
    1.14 +
    1.15  WANTED="freeglut"
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/freeglut/receipt	Sat Mar 02 16:28:51 2019 +0100
     2.2 +++ b/freeglut/receipt	Sat Mar 02 17:32:25 2019 +0100
     2.3 @@ -1,16 +1,17 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="freeglut"
     2.7 -VERSION="2.6.0"
     2.8 +VERSION="3.0.0"
     2.9  CATEGORY="x-window"
    2.10  SHORT_DESC="OpenGL utility toolkit."
    2.11  MAINTAINER="b1+slitaz@nagel.org"
    2.12  LICENSE="GPL"
    2.13 -SUGGESTED="nvidia"
    2.14 +WEB_SITE="https://freeglut.sourceforge.io/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WEB_SITE="http://freeglut.sourceforge.net/"
    2.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.19  
    2.20 +SUGGESTED="nvidia"
    2.21  DEPENDS="glibc-base libdrm mesa libglu-mesa \
    2.22  xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \
    2.23  xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm"
    2.24 @@ -23,18 +24,14 @@
    2.25  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
    2.26  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
    2.27  	
    2.28 -	if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi
    2.29 -
    2.30 -	cd $src
    2.31  	# fixes an issue with the radeon[hd] ATI opensource drivers
    2.32  	# ref: http://bugs.gentoo.org/show_bug.cgi?id=295163
    2.33 -	patch -p0 -i $stuff/2.6.0-GFX_radeon.patch
    2.34 +#	patch -p0 -i $stuff/2.6.0-GFX_radeon.patch
    2.35  #	sed -i 's/-Werror//' configure
    2.36 -	./configure \
    2.37 -		--prefix=/usr \
    2.38 -		$CONFIGURE_ARGS &&
    2.39 +
    2.40 +	cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
    2.41  #	sed -i '/XF86VMODE/d' config.status
    2.42 -	make &&
    2.43 +	make -j 1 &&
    2.44  	make DESTDIR=$DESTDIR install
    2.45  }
    2.46