34 lines
948 B
Bash
34 lines
948 B
Bash
# Template file for 'glyphy'
|
|
pkgname=glyphy
|
|
version=0.0.20190307
|
|
revision=1
|
|
_gitrev=bc2da506d23bdaf3eb0d95c9649a4591b4d912c7
|
|
wrksrc="${pkgname}-${_gitrev}"
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="freetype-devel"
|
|
short_desc="Signed-distance-field (SDF) text renderer using OpenGL"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
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="${pkgname}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|