void-packages/srcpkgs/fontconfig/template

27 lines
917 B
Text

# Template build file for 'fontconfig'.
pkgname=fontconfig
version=2.11.0
revision=3
build_style=gnu-configure
configure_args="--disable-static --enable-docs --with-cache-dir=/var/cache/$pkgname"
hostmakedepends="pkg-config"
makedepends="expat-devel zlib-devel freetype-devel"
conf_files="/etc/fonts/fonts.conf"
short_desc="Library for configuring and customizing font access"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.fontconfig.org"
license="MIT"
distfiles="http://www.freedesktop.org/software/fontconfig/release/$pkgname-$version.tar.bz2"
checksum=cb0e0ef6f03bc8568e95653840bb07d5859dc89d7ce2cade9d94fcccf8c1a467
fontconfig-devel_package() {
depends="expat-devel freetype-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/man/man3
vmove usr/share/doc
}
}