void-packages/srcpkgs/fontconfig/template

34 lines
965 B
Plaintext

# Template build file for 'fontconfig'.
pkgname=fontconfig
version=2.10.91
revision=2
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"
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=a4727954e950c0b8ae71580e2328bf54457d835ff3023ae4bd7221f9073e63ee
fontconfig-devel_package() {
depends="expat-devel freetype-devel fontconfig>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove usr/share/doc
}
}
fontconfig_package() {
conf_files="/etc/fonts/fonts.conf"
pkg_install() {
vmove etc
vmove usr
}
}