void-packages/srcpkgs/glyphy/template

34 lines
961 B
Bash
Raw Normal View History

2016-02-23 18:33:58 +01:00
# Template file for 'glyphy'
pkgname=glyphy
version=0.0.20160104
revision=1
_gitrev=77bd0c223c1c35bbd50e2521d8769c557871f432
wrksrc=${pkgname}-${_gitrev}
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
2016-02-23 18:46:40 +01:00
makedepends="freetype-devel"
2016-02-23 18:33:58 +01:00
short_desc="Signed-distance-field (SDF) text renderer using OpenGL"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="Apache-2.0"
homepage="http://glyphy.org/"
distfiles="https://codeload.github.com/behdad/glyphy/tar.gz/77bd0c223c1c35bbd50e2521d8769c557871f432>${pkgname}-${version}.tar.gz"
checksum=a1696df913a115cb9112c6b158cadebb4c9bd6a9c917d6ccbc4145a7118fc131
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
2016-02-23 18:46:40 +01:00
post_configure() {
sed -i Makefile -e "s;SUBDIRS = src demo;SUBDIRS = src;"
}
2016-02-23 18:33:58 +01:00
glyphy-devel_package() {
short_desc+=" - development files"
depends="${pkgname}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}