wok-next rev 21684

updated glew (2.1.0 -> 2.2.0)
author Hans-G?nter Theisgen
date Mon Jun 29 15:40:33 2020 +0100 (2020-06-29)
parents 1b62d5153932
children 1864ba66f0b2
files glew/receipt
line diff
     1.1 --- a/glew/receipt	Mon Jun 29 15:35:41 2020 +0100
     1.2 +++ b/glew/receipt	Mon Jun 29 15:40:33 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="glew"
     1.7 -VERSION="2.1.0"
     1.8 +VERSION="2.2.0"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="The OpenGL Extension Wrangler Library"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -14,17 +14,21 @@
    1.13  BUILD_DEPENDS="libx11-dev mesa-dev"
    1.14  SPLIT="$PACKAGE-dev"
    1.15  
    1.16 -DEPENDS_std="mesa libx11"
    1.17 +DEPENDS_std="libx11 mesa"
    1.18  DEPENDS_dev="glew glu-dev"
    1.19  
    1.20 -compile_rules() {
    1.21 +compile_rules()
    1.22 +{
    1.23  	make &&
    1.24  	make install
    1.25  }
    1.26  
    1.27 -genpkg_rules() {
    1.28 +genpkg_rules()
    1.29 +{
    1.30  	case $PACKAGE in
    1.31 -		glew)  copy @std; DEPENDS="$DEPENDS_std";;
    1.32 -		*-dev) copy @dev; DEPENDS="$DEPENDS_dev";;
    1.33 +		glew)	copy @std
    1.34 +			DEPENDS="$DEPENDS_std";;
    1.35 +		*-dev)	copy @dev
    1.36 +			DEPENDS="$DEPENDS_dev";;
    1.37  	esac
    1.38  }