void-packages/srcpkgs/harfbuzz/template
2014-05-03 08:56:15 +02:00

36 lines
1 KiB
Text

# Template build file for 'harfbuzz'.
pkgname=harfbuzz
version=0.9.28
revision=1
build_style=gnu-configure
configure_args="--with-glib --with-freetype --with-cairo --with-icu --with-graphite2"
hostmakedepends="automake libtool pkg-config glib-devel"
makedepends="libglib-devel icu-devel freetype-devel cairo-devel graphite-devel"
short_desc="An OpenType text shaping engine"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/HarfBuzz/"
license="LGPL-2.1"
distfiles="http://www.freedesktop.org/software/harfbuzz/release/${pkgname}-${version}.tar.bz2"
checksum=a567f7c58018af0a9751e18641fd8434bfcef8307122dabe47dd652ce8bde048
pre_configure() {
autoreconf -fi
}
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
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
}
}