aboutsummaryrefslogtreecommitdiffstats
path: root/main/glew
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-06-16 23:15:55 -0300
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-06-20 10:21:37 +0000
commit411edc1bde14cdbaf765192b9d987b09c68883ef (patch)
treebaebe872dfc4553239c0881b9821acc9a883d594 /main/glew
parenteff972b85a196ce704b28c6a94de6137ec7bbb25 (diff)
downloadaports-411edc1bde14cdbaf765192b9d987b09c68883ef.tar.bz2
aports-411edc1bde14cdbaf765192b9d987b09c68883ef.tar.xz
main/glew: upgrade to 2.0.0
Diffstat (limited to 'main/glew')
-rw-r--r--main/glew/APKBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/main/glew/APKBUILD b/main/glew/APKBUILD
index 91baecac82..d32f5c5e3b 100644
--- a/main/glew/APKBUILD
+++ b/main/glew/APKBUILD
@@ -1,37 +1,34 @@
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glew
-pkgver=1.13.0
+pkgver=2.0.0
pkgrel=0
pkgdesc="A cross-platform C/C++ extension loading library"
url="http://glew.sourceforge.net"
arch="all"
license="GPL"
-depends=
depends_dev="libxmu-dev libxi-dev mesa-dev glu-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tgz"
replaces="mesa-dev"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$_builddir"
- sed -i 's|lib64|lib|' config/Makefile.linux || return 1
+ cd "$builddir"
+ sed -i 's|lib64|lib|' config/Makefile.linux
}
build() {
- cd "$_builddir"
- make CFLAGS.EXTRA="$CFLAGS -fPIC" || return 1
+ cd "$builddir"
+ make CFLAGS.EXTRA="$CFLAGS -fPIC"
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make GLEW_DEST="${pkgdir}/usr" install
install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
-md5sums="7cbada3166d2aadfc4169c4283701066 glew-1.13.0.tgz"
-sha256sums="aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7 glew-1.13.0.tgz"
-sha512sums="8fc8d7c0d2cd9235ea51db9972f492701827bff40642fdb3cc54c10b0737dba8e6d8d0dcd8c5aa5bfaaae39c6198ba3d4292cd1662fbe1977eb9a5d187ba635f glew-1.13.0.tgz"
+sha512sums="e9bcd5f19a4495ce6511dfd76e64b4e4d958603c513ee9063eb9fe24fc6e0413f168620661230f1baef558f2f907cef7fe7ab2bdf957a6f7bda5fe96e9319c6a glew-2.0.0.tgz"