void-packages/srcpkgs/fontconfig/template
2013-08-31 09:47:19 +02:00

33 lines
963 B
Text

# Template build file for 'fontconfig'.
pkgname=fontconfig
version=2.10.95
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=abc0ecb9fb083d8705c140c8c0d13cc294c56faa1fee0e31e3f3eb98062a5e7b
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/lib/*.so"
vmove usr/share/man/man3
vmove usr/share/doc
}
}
fontconfig_package() {
conf_files="/etc/fonts/fonts.conf"
pkg_install() {
vmove all
}
}