wok view glm/receipt @ rev 25656

Up fwknop (2.6.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 09 11:08:06 2024 +0000 (9 months ago)
parents e6b809c621b6
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 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mkdir -p $install/usr/share/doc/glm
25 cp -a $src/doc/* $install/usr/share/doc/glm
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/include
33 cp -a $src/glm $fs/usr/include
34 rm -f $fs/usr/include/glm/CMakeLists.txt
35 }