wok-next rev 21686

updated glm (0.9.3.2 -> 0.9.9.8)
author Hans-G?nter Theisgen
date Mon Jun 29 16:57:49 2020 +0100 (2020-06-29)
parents 1864ba66f0b2
children 91e00e1a57ba
files glm/receipt
line diff
     1.1 --- a/glm/receipt	Mon Jun 29 16:34:57 2020 +0100
     1.2 +++ b/glm/receipt	Mon Jun 29 16:57:49 2020 +0100
     1.3 @@ -1,18 +1,22 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="glm"
     1.8 -VERSION="0.9.3.2"
     1.9 +VERSION="0.9.9.8"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification"
    1.12 -MAINTAINER="devel@slitaz.org"
    1.13 +MAINTAINER="maintainer@slitaz.org"
    1.14  LICENSE="GPL"
    1.15  WEB_SITE="http://glm.g-truc.net/"
    1.16 -TARBALL="$PACKAGE-$VERSION.zip"
    1.17 -WGET_URL="$SF_MIRROR/ogl-math/$TARBALL"
    1.18  
    1.19 -genpkg_rules() {
    1.20 -	mkdir -p $fs/usr/include $fs/usr/share/doc
    1.21 -	cp -a $src/glm $fs/usr/include
    1.22 -	cp -a $src/doc $fs/usr/share/doc/glm
    1.23 -	rm -f $fs/usr/include/glm/CMakeLists.txt
    1.24 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.25 +WGET_URL="https://github.com/g-truc/$PACKAGE/archive/$VERSION/$TARBALL"
    1.26 +
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/include
    1.30 +	mkdir -p $fs/usr/share/doc
    1.31 +
    1.32 +	cp -a $src/glm	$fs/usr/include
    1.33 +	cp -a $src/doc	$fs/usr/share/doc/glm
    1.34 +	rm -f		$fs/usr/include/glm/CMakeLists.txt
    1.35  }