1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Easy-to-use chart creation library for PHP"
7 HOMEPAGE="http://naku.dohcrew.com/libchart https://github.com/naku/libchart"
8 SRC_URI="https://github.com/naku/${PN}/releases/download/release/${PV}/${P}.tar.gz"
10 LICENSE="GPL-3 BitstreamVera"
11 KEYWORDS="~amd64 ~x86"
16 RDEPEND="dev-lang/php:*[gd,truetype]"
21 dodoc "${PN}"/{ChangeLog,README}
23 if use examples ; then
24 # PHP won't run a compressed example...
25 docompress -x "/usr/share/doc/${PF}/demo"
29 insinto "/usr/share/php/${PN}"
30 doins -r "${PN}"/{classes,fonts,images}