void-packages/srcpkgs/graphite/template

31 lines
870 B
Bash

# Template file for 'graphite'
pkgname=graphite
version=1.3.13
revision=1
wrksrc="${pkgname}2-${version}"
build_style=cmake
configure_args="-DGRAPHITE2_COMPARE_RENDERER=OFF"
hostmakedepends="pkg-config"
makedepends="freetype-devel"
short_desc="Reimplementation of the SIL Graphite text processing engine"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later, GPL-2.0-or-later"
homepage="http://projects.palaso.org/projects/graphitedev"
distfiles="${SOURCEFORGE_SITE}/silgraphite/graphite2-${version}.tgz"
checksum=dd63e169b0d3cf954b397c122551ab9343e0696fb2045e1b326db0202d875f06
post_install() {
vlicense COPYING
}
graphite-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share
}
}