void-packages/srcpkgs/fontconfig/template

33 lines
940 B
Plaintext

# Template build file for 'fontconfig'.
pkgname=fontconfig
version=2.10.93
revision=1
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=ea901f278848829ed9937d76fb0ce63ad362d7d5b9e75aa6a6b78bfef42e529c
fontconfig-devel_package() {
depends="expat-devel freetype-devel fontconfig>=${version}"
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 all
}
}