2012-12-24 22:11:00 +11:00
|
|
|
# Description: The OpenGL Extension Wrangler Library.
|
|
|
|
# URL: http://glew.sourceforge.net/
|
2013-02-01 19:09:37 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2012-12-24 22:11:00 +11:00
|
|
|
# Depends on: mesa3d-32 xorg-libxi-32 xorg-libxmu-32 glew
|
|
|
|
|
|
|
|
name=glew-32
|
2015-10-22 21:59:42 +11:00
|
|
|
version=1.13.0
|
2012-12-24 22:11:00 +11:00
|
|
|
release=1
|
|
|
|
source=(http://downloads.sourceforge.net/project/glew/glew/$version/glew-$version.tgz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd glew-$version
|
|
|
|
|
|
|
|
make \
|
|
|
|
CC="${CC:-gcc}" \
|
|
|
|
LD="${CC:-gcc}" \
|
2013-07-25 18:18:59 +10:00
|
|
|
CFLAGS.EXTRA="$CFLAGS -fPIC" \
|
2012-12-24 22:11:00 +11:00
|
|
|
LDFLAGS.EXTRA="$LDFLAGS"
|
|
|
|
|
|
|
|
make LIBDIR="$PKG/usr/lib32" GLEW_DEST=$PKG/usr install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/include
|
|
|
|
}
|