void-packages/srcpkgs/harfbuzz/template

41 lines
985 B
Text
Raw Normal View History

2012-09-27 13:09:12 +00:00
# Template build file for 'harfbuzz'.
pkgname=harfbuzz
2013-04-20 07:18:52 +00:00
version=0.9.16
revision=1
2012-09-27 13:09:12 +00:00
build_style=gnu-configure
# XXX graphite2 support
2013-04-20 07:18:52 +00:00
hostmakedepends="pkg-config"
2013-05-06 11:53:13 +00:00
makedepends="glib-devel icu-devel freetype-devel cairo-devel"
2012-09-27 13:09:12 +00:00
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"
2013-04-20 07:18:52 +00:00
checksum=6da7e032f705d8a5c91487cd296628d64975672a5b0c1704829cf2285072c92b
2013-05-06 11:53:13 +00:00
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" glib-devel"
fi
libharfbuzz_package() {
2013-04-20 07:18:52 +00:00
short_desc="OpenType text shaping engine -- runtime library"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
harfbuzz-devel_package() {
depends="libharfbuzz-${version}_${revision}"
2013-04-20 07:18:52 +00:00
short_desc="OpenType text shaping engine -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
harfbuzz_package() {
pkg_install() {
2013-04-20 07:18:52 +00:00
vmove all
}
}