void-packages/srcpkgs/graphite/template

33 lines
860 B
Plaintext

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