diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-10 14:50:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-10 14:59:57 +0000 |
commit | 038debf34a8ce27968b6690127c2d3c44c789273 (patch) | |
tree | f5679036ddafa82b15985487833ab83a4fc76d2f /testing | |
parent | 3bb9083f6470b3fe3dbb9704b1d1d7ecbaa2de16 (diff) | |
download | aports-038debf34a8ce27968b6690127c2d3c44c789273.tar.bz2 aports-038debf34a8ce27968b6690127c2d3c44c789273.tar.xz |
main/glm: moved to main
Diffstat (limited to 'testing')
-rw-r--r-- | testing/glm/APKBUILD | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/testing/glm/APKBUILD b/testing/glm/APKBUILD deleted file mode 100644 index 3c373ff8f8..0000000000 --- a/testing/glm/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=glm -pkgver=0.9.4.5 -pkgrel=0 -pkgdesc="C++ mathematics library for graphics programming" -url="http://glm.g-truc.net/" -arch="all" -license="MIT" -depends="" -depends_dev="" -makedepends="$depends_dev cmake" -install="" -subpackages="$pkgname-dev" -source="http://downloads.sourceforge.net/ogl-math/glm-$pkgver/glm-$pkgver.zip" - -_builddir="$srcdir"/glm -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - mkdir build - cd build - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DGLM_TEST_ENABLE=ON \ - || return 1 - make -} - -package() { - cd "$_builddir"/build - make install DESTDIR="$pkgdir" -} - -md5sums="73dbb0ad8af36e29ad8a23c20fbf27ef glm-0.9.4.5.zip" -sha256sums="a0dcb156e3e219eeaae0a1a9f0f5dbdaf685709d862470c224cb2a6c5e1833c6 glm-0.9.4.5.zip" -sha512sums="a9853b55d4cb3971a45cde6899390749be1426c01cf5fb25f4afa2eeb91248295dad54add9efb11146b085c2b53886908918129d3225f0a80fdd6980dffeb799 glm-0.9.4.5.zip" |