summaryrefslogtreecommitdiffstats
path: root/extra/glew/Pkgfile
blob: c56b08581504c96bd28386f3ab10f1d1437ddb4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: OpenGL Extension Wrangler Library 
# Maintainer: Diederick de Vries <diederick at diederickdevries dot net>
# Packager: thierryn1 at hispeed dot ch
# URL: http://glew.sourceforge.net/
# Depends on: mesa3d, xorg-libxmu, xorg-libxi
# Run on: mesa3d,xorg-libxmu,xorg-libxi

name=glew
version=1.5.8
release=1
source=(http://downloads.sourceforge.net/project/glew/glew/$version/$name-$version.tgz)

build() {
	cd $name-$version
	sed -i 's|lib64|lib|' config/Makefile.linux
	install -dm755 $PKG/usr/lib/pkgconfig

	make 
	make GLEW_DEST=$PKG/usr LIBDIR=$PKG/usr/lib install
}