33 lines
977 B
Bash
33 lines
977 B
Bash
# Template file for 'glyphy'
|
|
pkgname=glyphy
|
|
version=0.0.20160104
|
|
revision=3
|
|
_gitrev=77bd0c223c1c35bbd50e2521d8769c557871f432
|
|
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/77bd0c223c1c35bbd50e2521d8769c557871f432>${pkgname}-${version}.tar.gz"
|
|
checksum=a1696df913a115cb9112c6b158cadebb4c9bd6a9c917d6ccbc4145a7118fc131
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
post_configure() {
|
|
sed -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
|
|
}
|
|
}
|