void-packages/srcpkgs/harfbuzz/template

39 lines
1 KiB
Bash
Raw Normal View History

2015-09-02 08:51:30 +00:00
# Template file for 'harfbuzz'
2012-09-27 13:09:12 +00:00
pkgname=harfbuzz
2015-10-16 13:14:54 +00:00
version=1.0.6
2015-08-20 05:20:56 +00:00
revision=1
2012-09-27 13:09:12 +00:00
build_style=gnu-configure
2013-08-22 07:01:54 +00:00
configure_args="--with-glib --with-freetype --with-cairo --with-icu --with-graphite2"
2014-05-03 06:56:15 +00:00
hostmakedepends="automake libtool pkg-config glib-devel"
2015-08-05 11:11:11 +00:00
makedepends="libglib-devel icu55-devel freetype-devel cairo-devel graphite-devel"
2014-05-03 06:56:15 +00:00
short_desc="An OpenType text shaping engine"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-05-03 06:56:15 +00:00
homepage="http://www.freedesktop.org/wiki/Software/HarfBuzz/"
2015-09-02 08:51:30 +00:00
license="MIT"
distfiles="${FREEDESKTOP_SITE}/harfbuzz/release/${pkgname}-${version}.tar.bz2"
2015-10-16 13:14:54 +00:00
checksum=f616a7fbdc78a627043f9029000bf08c0c71df59cde4143fc92a014f6a993b26
2014-05-03 06:56:15 +00:00
pre_configure() {
autoreconf -fi
}
2015-09-02 08:51:30 +00:00
post_install() {
vlicense COPYING LICENSE
}
2013-05-06 11:53:13 +00:00
libharfbuzz_package() {
2013-08-22 07:01:54 +00:00
short_desc+=" - runtime library"
pkg_install() {
2013-08-22 07:01:54 +00:00
vmove "usr/lib/*.so.*"
}
}
harfbuzz-devel_package() {
2015-08-20 05:20:56 +00:00
depends="${makedepends} libharfbuzz>=${version}_${revision}"
2013-08-22 07:01:54 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-08-22 07:01:54 +00:00
vmove "usr/lib/*.so"
2013-12-04 08:10:44 +00:00
vmove usr/share/gtk-doc
}
}