void-packages/srcpkgs/harfbuzz/template

36 lines
1.0 KiB
Bash
Raw Normal View History

2012-09-27 15:09:12 +02:00
# Template build file for 'harfbuzz'.
pkgname=harfbuzz
2015-03-21 09:20:19 +01:00
version=0.9.40
2014-11-23 08:47:03 +01:00
revision=1
2012-09-27 15:09:12 +02:00
build_style=gnu-configure
2013-08-22 09:01:54 +02:00
configure_args="--with-glib --with-freetype --with-cairo --with-icu --with-graphite2"
2014-05-03 08:56:15 +02:00
hostmakedepends="automake libtool pkg-config glib-devel"
makedepends="libglib-devel icu-devel>=54 freetype-devel cairo-devel graphite-devel"
2014-05-03 08:56:15 +02:00
short_desc="An OpenType text shaping engine"
2012-09-27 15:09:12 +02:00
maintainer="Juan RP <xtraeme@gmail.com>"
2014-05-03 08:56:15 +02:00
homepage="http://www.freedesktop.org/wiki/Software/HarfBuzz/"
2012-09-27 15:09:12 +02:00
license="LGPL-2.1"
distfiles="http://www.freedesktop.org/software/harfbuzz/release/${pkgname}-${version}.tar.bz2"
2015-03-21 09:20:19 +01:00
checksum=1771d53583be6d91ca961854b2a24fb239ef0545eed221ae3349abae0ab8321f
2014-05-03 08:56:15 +02:00
pre_configure() {
autoreconf -fi
}
2013-05-06 13:53:13 +02:00
libharfbuzz_package() {
2013-08-22 09:01:54 +02:00
short_desc+=" - runtime library"
pkg_install() {
2013-08-22 09:01:54 +02:00
vmove "usr/lib/*.so.*"
}
}
harfbuzz-devel_package() {
2014-08-30 18:29:21 +02:00
depends="icu-devel libharfbuzz>=${version}_${revision}"
2013-08-22 09:01:54 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-08-22 09:01:54 +02:00
vmove "usr/lib/*.so"
2013-12-04 09:10:44 +01:00
vmove usr/share/gtk-doc
}
}