aboutsummaryrefslogtreecommitdiffstats
path: root/main/glm/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/glm/APKBUILD')
-rw-r--r--main/glm/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/glm/APKBUILD b/main/glm/APKBUILD
index b622c9123f..8c70c9cdac 100644
--- a/main/glm/APKBUILD
+++ b/main/glm/APKBUILD
@@ -1,15 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glm
-pkgver=0.9.8.5
-pkgrel=1
+pkgver=0.9.9.2
+pkgrel=0
pkgdesc="C++ mathematics library for graphics programming"
url="http://glm.g-truc.net/"
-arch="all"
+arch="noarch"
license="MIT"
makedepends="cmake"
subpackages="$pkgname-dev"
source="https://github.com/g-truc/glm/releases/download/$pkgver/glm-$pkgver.zip"
-
+options="!check" # the testsuite included in cmake in function build
builddir="$srcdir/$pkgname"
build() {
@@ -19,7 +19,8 @@ build() {
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_LIBDIR=lib
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DGLM_TEST_ENABLE=TRUE
make
}
@@ -28,4 +29,4 @@ package() {
make install DESTDIR="$pkgdir"
}
-sha512sums="8a0213c08722641f4ff419e7d704478f23f901f0332596bdb55282d7f7746258e227bfef5a6a3ee70c0db82f7f089dceeb5131d2ad0dc56d360453c71b46467f glm-0.9.8.5.zip"
+sha512sums="f50059118d907f7e7fa06f0c38dff15aa0cdec61b3ff0059b927d100ce9891f3c1aa3e2c120555891c096b428868006aa5e35c4f82d57198382f3a94240ee9f9 glm-0.9.9.2.zip"