void-packages/srcpkgs/SDL_ttf/template

37 lines
1.1 KiB
Plaintext

# Template file for 'SDL_ttf'
pkgname=SDL_ttf
version=2.0.11
revision=3
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="freetype-devel SDL-devel MesaLib-devel"
short_desc="Use TrueType fonts in your SDL applications"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.libsdl.org/projects/${pkgname}"
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
checksum=724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7
long_desc="
SDL_ttf is a TrueType font rendering library that is used with the SDL
library, and almost as portable. It depends on freetype2 to handle the
TrueType font data. It allows a programmer to use multiple TrueType fonts
without having to code a font rendering routine themselves. With the power
of outline fonts and antialiasing, high quality text output can be obtained
without much effort."
SDL_ttf-devel_package() {
depends="freetype-devel SDL-devel ${sourcepkg}>=${version}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
SDL_ttf_package() {
pkg_install() {
vmove usr
}
}