void-packages/srcpkgs/SDL_ttf/template
Jürgen Buchmüller 5d962baded SDL_ttf: fix cross
2020-06-25 11:00:57 +02:00

26 lines
801 B
Bash

# Template file for 'SDL_ttf'
pkgname=SDL_ttf
version=2.0.11
revision=6
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="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1"
homepage="http://www.libsdl.org/projects/${pkgname}"
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
checksum=724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
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"
}
}