void-packages/srcpkgs/glyphy/template

33 lines
914 B
Bash

# Template file for 'glyphy'
pkgname=glyphy
version=0.0.20190307
revision=2
_gitrev=bc2da506d23bdaf3eb0d95c9649a4591b4d912c7
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config which"
makedepends="freetype-devel"
short_desc="Signed-distance-field (SDF) text renderer using OpenGL"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/behdad/glyphy"
distfiles="https://codeload.github.com/behdad/glyphy/tar.gz/${_gitrev}>${pkgname}-${version}.tar.gz"
checksum=821be957828215cbca8766b7be48983cccef7d578dcf90db0beffbb4be2715b0
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_configure() {
vsed -i Makefile -e "s;SUBDIRS = src demo;SUBDIRS = src;"
}
glyphy-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}