blob: 374a8d5121c9df22fe21ef1b48ff73810d033212 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Carlo Landmeter
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=glew
pkgver=2.2.0
pkgrel=0
pkgdesc="Cross-platform C/C++ extension loading library"
url="http://glew.sourceforge.net"
arch="all"
options="!check" # No test suite.
license="BSD-3-Clause AND MIT"
depends=""
depends_dev="libxi-dev libxmu-dev mesa-dev"
makedepends="$depends_dev glu-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tgz"
prepare() {
default_prepare
sed -i 's|lib64|lib|' config/Makefile.linux
}
build() {
make CFLAGS.EXTRA="$CFLAGS -fPIC"
}
package() {
make GLEW_DEST="${pkgdir}/usr" install
install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha512sums="57453646635609d54f62fb32a080b82b601fd471fcfd26e109f479b3fef6dfbc24b83f4ba62916d07d62cd06d1409ad7aa19bc1cd7cf3639c103c815b8be31d1 glew-2.2.0.tgz"
|