void-packages/srcpkgs/glew/template

32 lines
938 B
Plaintext
Raw Normal View History

2010-11-11 02:49:55 +01:00
# Template build file for 'glew'.
pkgname=glew
2011-05-30 14:15:26 +02:00
version=1.6.0
2012-10-09 11:00:38 +02:00
revision=4
makedepends="pkg-config libXmu-devel libXi-devel glu-devel libXext-devel libX11-devel"
2010-11-11 02:49:55 +01:00
short_desc="The OpenGL Extension Wrangler Library"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-05-30 14:15:26 +02:00
homepage="http://glew.sourceforge.net"
license="BSD, MIT, GPL-2"
2012-10-09 11:00:38 +02:00
distfiles="${SOURCEFORGE_SITE}/glew/glew-${version}.tgz"
2011-05-30 14:15:26 +02:00
checksum=bea2a7e9bb97a7a5054d4a65d16aaeedeaa091719359ad3fcd9bfdb0fe8eb7fa
2010-11-11 02:49:55 +01:00
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"
2012-10-09 11:00:38 +02:00
do_build() {
2010-11-11 02:49:55 +01:00
sed -i -e "s|lib64|lib|" config/Makefile.linux
make ${makejobs}
}
2012-10-09 11:00:38 +02:00
do_install() {
2010-11-11 02:49:55 +01:00
make GLEW_DEST=${DESTDIR}/usr install
2012-10-09 11:00:38 +02:00
2010-11-11 02:49:55 +01:00
chmod 755 ${DESTDIR}/usr/lib/libGLEW.so*
2012-10-09 11:00:38 +02:00
rm -f ${DESTDIR}/usr/lib/*.a
2010-11-11 02:49:55 +01:00
}