void-packages/srcpkgs/graphite/template
2016-04-02 09:52:33 +02:00

30 lines
854 B
Bash

# Template file for 'graphite'
pkgname=graphite
version=1.3.8
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>"
homepage="http://projects.palaso.org/projects/graphitedev"
license="LGPL-2.1, GPL-2, BSD"
distfiles="${SOURCEFORGE_SITE}/silgraphite/graphite2-${version}.tgz"
checksum=9f3f25b3a8495ce0782e77f69075c0dd9b7c054847b9bf9ff130bec38f4c8cc2
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
}
}