1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="PHP captcha creator and validator library"
7 HOMEPAGE="http://phpcaptcha.org/"
8 SRC_URI="https://github.com/dapphp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
12 KEYWORDS="~amd64 ~x86"
15 RDEPEND="dev-lang/php[gd,truetype]
20 # Grab all PHP files except the examples.
22 local php_files=${@/*example*/}
24 insinto /usr/share/php/${PN}
25 doins -r ${php_files} *.{ttf,swf} audio backgrounds database images words