wok-6.x view glm/receipt @ rev 24829
updated libsixel and libsixel-dev (1.8.6 -> 1.10.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 17:37:29 2022 +0100 (2022-03-23) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="glm"
4 VERSION="0.9.9.8"
5 CATEGORY="development"
6 SHORT_DESC="C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://glm.g-truc.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/g-truc/$PACKAGE/archive/$VERSION.tar.gz"
14 current_version()
15 {
16 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 mkdir -p $install/usr/share/doc/glm
24 cp -a $src/doc/* $install/usr/share/doc/glm
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/include
32 cp -a $src/glm $fs/usr/include
33 rm -f $fs/usr/include/glm/CMakeLists.txt
34 }