PEAR-Text_CAPTCHA-1.0.2-r1.ebuild 614 B

12345678910111213141516171819202122232425262728
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit php-pear-r2
  5. DESCRIPTION="Generation of CAPTCHAs"
  6. LICENSE="BSD"
  7. SLOT="0"
  8. KEYWORDS="~amd64 ~x86"
  9. IUSE="minimal"
  10. RDEPEND="dev-php/PEAR-PEAR >=dev-lang/php-5.3:*[gd,truetype] >=dev-php/PEAR-Text_Password-1.1.1
  11. !minimal? ( dev-php/PEAR-Numbers_Words
  12. dev-php/PEAR-Text_Figlet
  13. >=dev-php/PEAR-Image_Text-0.7.0 )"
  14. src_prepare() {
  15. sed -i -e '/role="doc"/d' -e '/role="test"/d' "${WORKDIR}/package.xml" || die
  16. eapply_user
  17. }
  18. src_install() {
  19. local DOCS=( README )
  20. php-pear-r2_src_install
  21. }