wok annotate glm/receipt @ rev 25801
created recipe for xfce4-calculator-plugin
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 02 14:21:07 2024 +0100 (2 weeks ago) |
parents | e6b809c621b6 |
children |
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@25599 | 14 # What is the latest version available today? |
pascal@24055 | 15 current_version() |
pascal@24055 | 16 { |
pascal@24055 | 17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25599 | 18 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 19 } |
pascal@24055 | 20 |
Hans-G?nter@24604 | 21 # Rules to configure and make the package. |
Hans-G?nter@24604 | 22 compile_rules() |
Hans-G?nter@24604 | 23 { |
Hans-G?nter@24604 | 24 mkdir -p $install/usr/share/doc/glm |
Hans-G?nter@24604 | 25 cp -a $src/doc/* $install/usr/share/doc/glm |
Hans-G?nter@24604 | 26 } |
Hans-G?nter@24604 | 27 |
slaxemulator@13124 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@13124 | 29 genpkg_rules() |
slaxemulator@13124 | 30 { |
Hans-G?nter@22854 | 31 mkdir -p $fs/usr/include |
Hans-G?nter@22854 | 32 |
Hans-G?nter@20975 | 33 cp -a $src/glm $fs/usr/include |
Hans-G?nter@22854 | 34 rm -f $fs/usr/include/glm/CMakeLists.txt |
slaxemulator@13124 | 35 } |