void-packages/srcpkgs/fontconfig/template
2013-10-11 16:12:41 +02:00

33 lines
962 B
Text

# Template build file for 'fontconfig'.
pkgname=fontconfig
version=2.11.0
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=cb0e0ef6f03bc8568e95653840bb07d5859dc89d7ce2cade9d94fcccf8c1a467
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
}
}