wok view glm/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 5ea0ce1cecc0
children 20ad21d5532c
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 }