void-packages/srcpkgs/ftgl/template
2014-02-19 15:25:38 +01:00

28 lines
839 B
Bash

# Template build file for 'ftgl'.
pkgname=ftgl
_distver=2.1.3
_distrcver=rc5
version=${_distver}${_distrcver}
revision=6
wrksrc="ftgl-${_distver}~${_distrcver}"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="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
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/lib/*.so"
vmove usr/share/doc
}
}