agavi-1.0.8.ebuild 858 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. DESCRIPTION="PHP MVC application framework"
  5. HOMEPAGE="http://www.agavi.org/"
  6. SRC_URI="http://www.agavi.org/download/${PV}.tgz -> ${P}.tgz"
  7. LICENSE="BSD LGPL-2.1+ icu unicode public-domain"
  8. SLOT="0"
  9. KEYWORDS="~amd64 ~x86"
  10. IUSE="examples +executable iconv session soap xmlrpc"
  11. RDEPEND="dev-lang/php[iconv?,session?,soap?,xml,xmlrpc?]
  12. executable? ( dev-php/phing )"
  13. DOCS=(
  14. API_CHANGELOG
  15. CHANGELOG
  16. CHANGELOG-0.9
  17. CHANGELOG-0.10
  18. CHANGELOG-0.11
  19. CONTRIBUTING.md
  20. README.md
  21. RELEASE_NOTES
  22. RELEASE_NOTES-0.9
  23. RELEASE_NOTES-0.10
  24. RELEASE_NOTES-0.11
  25. UPGRADING
  26. )
  27. src_install() {
  28. einstalldocs
  29. use executable && newbin "${FILESDIR}/${PN}-executable" "${PN}"
  30. use examples && dodoc -r samples
  31. insinto "/usr/share/php/${PN}"
  32. doins -r src/*
  33. }