void-packages/srcpkgs/ftgl/template

29 lines
842 B
Bash
Raw Normal View History

2010-11-11 02:25:04 +01:00
# Template build file for 'ftgl'.
pkgname=ftgl
_distver=2.1.3
_distrcver=rc5
version=${_distver}${_distrcver}
2014-02-19 15:25:38 +01:00
revision=6
2010-11-11 02:25:04 +01:00
wrksrc="ftgl-${_distver}~${_distrcver}"
build_style=gnu-configure
2012-10-09 11:05:21 +02:00
configure_args="--disable-static"
2014-02-19 15:25:38 +01:00
hostmakedepends="pkg-config"
makedepends="freetype-devel zlib-devel glu-devel"
2010-11-11 02:25:04 +01:00
short_desc="OpenGL library to use arbitrary fonts"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-10-09 11:05:21 +02:00
homepage="http://ftgl.wiki.sourceforge.net/"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/ftgl/ftgl-${_distver}-${_distrcver}.tar.bz2"
2010-11-11 02:25:04 +01:00
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
2014-02-19 15:25:38 +01:00
vmove "usr/lib/*.so"
vmove usr/share/doc
}
}