compat-32/glew-32/Pkgfile
2012-12-24 22:11:00 +11:00

25 lines
607 B
Plaintext

# Description: The OpenGL Extension Wrangler Library.
# URL: http://glew.sourceforge.net/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Johannes Winkelmann, jw at smts dot ch
# Depends on: mesa3d-32 xorg-libxi-32 xorg-libxmu-32 glew
name=glew-32
version=1.9.0
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}" \
CFLAGS.EXTRA="$CFLAGS" \
LDFLAGS.EXTRA="$LDFLAGS"
make LIBDIR="$PKG/usr/lib32" GLEW_DEST=$PKG/usr install
rm -r $PKG/usr/include
}