void-packages/srcpkgs/ftgl/template

33 lines
890 B
Bash

# Template file for 'ftgl'
pkgname=ftgl
_distver=2.1.3
_distrcver=rc5
version="${_distver}${_distrcver}"
revision=8
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@voidlinux.eu>"
license="MIT-advertising"
homepage="https://sourceforge.net/projects/ftgl/"
distfiles="${SOURCEFORGE_SITE}/ftgl/ftgl-${_distver}-${_distrcver}.tar.bz2"
checksum=521ff7bd62c459ff5372e269c223e2a6107a6a99a36afdc2ae634a973af70c59
post_install() {
vlicense COPYING
}
ftgl-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/doc
}
}