wok view glm/receipt @ rev 24226

updated perl-io-tty (1.14 -> 1.16)
author Hans-G?nter Theisgen
date Fri Dec 31 17:52:39 2021 +0100 (2021-12-31)
parents a540ef638b81
children e6b809c621b6
line source
1 # SliTaz package receipt.
3 PACKAGE="glm"
4 VERSION="0.9.9.7"
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 gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/include
24 mkdir -p $fs/usr/share/doc
26 cp -a $src/glm $fs/usr/include
27 cp -a $src/doc $fs/usr/share/doc/glm
28 rm -f $fs/usr/include/glm/CMakeLists.txt
29 }