void-packages/srcpkgs/SDL_ttf/template

25 lines
747 B
Bash
Raw Normal View History

# Template file for 'SDL_ttf'
pkgname=SDL_ttf
2012-01-16 13:59:21 +00:00
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>"
2011-10-26 07:32:19 +00:00
license="LGPL-2.1"
homepage="http://www.libsdl.org/projects/${pkgname}"
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
2012-01-16 13:59:21 +00:00
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"
}
}