void-packages/srcpkgs/harfbuzz/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

35 lines
1 KiB
Bash

# Template build file for 'harfbuzz'.
pkgname=harfbuzz
version=0.9.40
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=1771d53583be6d91ca961854b2a24fb239ef0545eed221ae3349abae0ab8321f
pre_configure() {
autoreconf -fi
}
libharfbuzz_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
harfbuzz-devel_package() {
depends="icu-devel 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
}
}