void-packages/srcpkgs/SDL_ttf/template

24 lines
747 B
Bash

# Template file for 'SDL_ttf'
pkgname=SDL_ttf
version=2.0.11
revision=5
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="freetype-devel SDL-devel libSM-devel"
short_desc="Use TrueType fonts in your SDL applications"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://www.libsdl.org/projects/${pkgname}"
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
checksum=724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7
SDL_ttf-devel_package() {
depends="freetype-devel SDL-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}