void-packages/srcpkgs/glew/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

43 lines
1.1 KiB
Text

# Template build file for 'glew'.
pkgname=glew
version=1.6.0
distfiles="${SOURCEFORGE_SITE}/glew/glew-${version}.tgz"
short_desc="The OpenGL Extension Wrangler Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://glew.sourceforge.net"
license="BSD, MIT, GPL-2"
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"
Add_dependency run glibc
Add_dependency run libX11
Add_dependency run libXext
Add_dependency run libXmu
Add_dependency run libXi
Add_dependency run MesaLib
Add_dependency build pkg-config
Add_dependency build libXmu-devel
Add_dependency build libXi-devel
Add_dependency build MesaLib-devel
Add_dependency build libXext-devel
Add_dependency build libX11-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*
}