void-packages/srcpkgs/ftgl/template

37 lines
1.1 KiB
Text

# Template build file for 'ftgl'.
pkgname=ftgl
_distver=2.1.3
_distrcver=rc5
version=${_distver}${_distrcver}
revision=5
wrksrc="ftgl-${_distver}~${_distrcver}"
build_style=gnu-configure
configure_args="--disable-static"
makedepends="pkg-config freetype-devel zlib-devel glu-devel"
short_desc="OpenGL library to use arbitrary fonts"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://ftgl.wiki.sourceforge.net/"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/ftgl/ftgl-${_distver}-${_distrcver}.tar.bz2"
checksum=521ff7bd62c459ff5372e269c223e2a6107a6a99a36afdc2ae634a973af70c59
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."
ftgl-devel_package() {
depends="freetype-devel glu-devel ftgl-${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
}
}
ftgl_package() {
pkg_install() {
vmove usr
}
}