wok-next rev 21664

updated freeglut (3.0.0 -> 3.2.1)
author Hans-G?nter Theisgen
date Sat Jun 27 15:04:19 2020 +0100 (2020-06-27)
parents 80b5b0ec38b7
children eddecc8a1538
files freeglut/receipt
line diff
     1.1 --- a/freeglut/receipt	Sat Jun 27 14:24:53 2020 +0100
     1.2 +++ b/freeglut/receipt	Sat Jun 27 15:04:19 2020 +0100
     1.3 @@ -1,27 +1,27 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="freeglut"
     1.7 -VERSION="3.0.0"
     1.8 +VERSION="3.2.1"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="OpenGL utility toolkit"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL"
    1.14  WEB_SITE="http://freeglut.sourceforge.net/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 -BUILD_DEPENDS="cmake mesa-dev glu-dev libxi-dev"
    1.20 +BUILD_DEPENDS="cmake glu-dev libxi-dev mesa-dev"
    1.21  SPLIT="$PACKAGE-dev"
    1.22  
    1.23 -compile_rules() {
    1.24 +compile_rules()
    1.25 +{
    1.26  	mkdir build
    1.27  	cd    build
    1.28 -	cmake \
    1.29 -		-DCMAKE_BUILD_TYPE=Release \
    1.30 -		-DCMAKE_INSTALL_PREFIX=/usr \
    1.31 -		-DCMAKE_INSTALL_LIBDIR=lib \
    1.32 -		.. &&
    1.33 +	cmake	..				\
    1.34 +		-DCMAKE_BUILD_TYPE=Release	\
    1.35 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    1.36 +		-DCMAKE_INSTALL_LIBDIR=lib &&
    1.37  	make &&
    1.38  	make install || return 1
    1.39  
    1.40 @@ -29,16 +29,17 @@
    1.41  	cook_pick_docs $src/doc/*
    1.42  }
    1.43  
    1.44 -genpkg_rules() {
    1.45 +genpkg_rules()
    1.46 +{
    1.47  	case $PACKAGE in
    1.48  		freeglut)
    1.49  			copy @std
    1.50 -			DEPENDS="mesa libx11 libxi libxxf86vm"
    1.51 +			DEPENDS="libx11 libxi libxxf86vm mesa"
    1.52  			;;
    1.53  		*-dev)
    1.54  			copy @dev
    1.55 -			DEPENDS="freeglut mesa-dev libx11-dev libxrandr-dev \
    1.56 -			libxxf86vm-dev"
    1.57 +			DEPENDS="freeglut libx11-dev libxrandr-dev 
    1.58 +				libxxf86vm-dev mesa-dev"
    1.59  			;;
    1.60  	esac
    1.61  }