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