wok-next diff glew/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents 5669e8b3be70
children
line diff
     1.1 --- a/glew/receipt	Sat Dec 22 04:52:35 2018 +0200
     1.2 +++ b/glew/receipt	Tue Sep 01 11:04:25 2020 +0000
     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  }