# SliTaz package receipt. PACKAGE="glm" VERSION="0.9.9.8" CATEGORY="development" SHORT_DESC="C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification." MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL" WEB_SITE="https://glm.g-truc.net/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/g-truc/$PACKAGE/archive/$VERSION.tar.gz" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { mkdir -p $install/usr/share/doc/glm cp -a $src/doc/* $install/usr/share/doc/glm } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/include cp -a $src/glm $fs/usr/include rm -f $fs/usr/include/glm/CMakeLists.txt }