void-packages/srcpkgs/glew/template
2012-10-09 11:00:38 +02:00

31 lines
938 B
Text

# Template build file for 'glew'.
pkgname=glew
version=1.6.0
revision=4
makedepends="pkg-config libXmu-devel libXi-devel glu-devel libXext-devel libX11-devel"
short_desc="The OpenGL Extension Wrangler Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://glew.sourceforge.net"
license="BSD, MIT, GPL-2"
distfiles="${SOURCEFORGE_SITE}/glew/glew-${version}.tgz"
checksum=bea2a7e9bb97a7a5054d4a65d16aaeedeaa091719359ad3fcd9bfdb0fe8eb7fa
long_desc="
FTGL is a free cross-platform Open Source C++ library that uses Freetype2
to simplify rendering fonts in OpenGL applications. FTGL supports bitmaps,
pixmaps, texture maps, outlines, polygon mesh, and extruded polygon
rendering modes."
subpackages="glew-devel"
do_build() {
sed -i -e "s|lib64|lib|" config/Makefile.linux
make ${makejobs}
}
do_install() {
make GLEW_DEST=${DESTDIR}/usr install
chmod 755 ${DESTDIR}/usr/lib/libGLEW.so*
rm -f ${DESTDIR}/usr/lib/*.a
}