void-packages/srcpkgs/harfbuzz/template

35 lines
854 B
Text

# Template build file for 'harfbuzz'.
pkgname=harfbuzz
version=0.9.12
revision=2
build_style=gnu-configure
# XXX graphite2 support
makedepends="pkg-config glib-devel icu-devel freetype-devel cairo-devel"
short_desc="OpenType text shaping engine"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.pango.org/"
license="LGPL-2.1"
distfiles="http://www.freedesktop.org/software/harfbuzz/release/${pkgname}-${version}.tar.bz2"
checksum=c653f70a275e98d109a9f1271373a6e80978c97298d723cb3f370351852f9da5
libharfbuzz_package() {
short_desc+=" -- runtime library"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
harfbuzz-devel_package() {
depends="libharfbuzz-${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
harfbuzz_package() {
pkg_install() {
vmove usr/bin
}
}