summaryrefslogtreecommitdiffstats
path: root/glew/Pkgfile
blob: 29ead4bb15412154768d22c88c806071ae452838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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.7.0
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 BINDIR=$PKG/usr/bin install install.bin install.lib.mx
}