summaryrefslogtreecommitdiffstats
path: root/extra/glew/Pkgfile
blob: d127ff1fe798f61dfba8703a8cfa739bf3cb5470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: OpenGL Extension Wrangler Library 
# Maintainer: Diederick de Vries <diederick at diederickdevries dot net>
# URL: http://glew.sourceforge.net/
# depends:

name=glew
version=1.5.1
release=1
source=(http://dl.sourceforge.net/sourceforge/glew/$name-$version-src.tgz\
	config.diff )

build() {
	#Application du patch	
	cd $name/config	
	mv $SRC/config.diff .
	patch < config.diff	
	chmod +x config.guess
	
	cd $SRC/$name
	make 
	make GLEW_DEST=$PKG/usr install
}