myclabs-deepcopy-1.6.0.ebuild 631 B

12345678910111213141516171819202122232425262728
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. MY_PN="DeepCopy"
  5. DESCRIPTION="Create deep copies (clones) of your objects"
  6. HOMEPAGE="https://github.com/myclabs/${MY_PN}"
  7. SRC_URI="https://github.com/myclabs/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
  8. LICENSE="MIT"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
  11. IUSE=""
  12. S="${WORKDIR}/${MY_PN}-${PV}"
  13. RDEPEND="dev-php/fedora-autoloader
  14. >=dev-lang/php-5.6:*"
  15. src_install() {
  16. insinto /usr/share/php/myclabs
  17. doins -r src/*
  18. insinto /usr/share/php/myclabs/DeepCopy
  19. doins "${FILESDIR}/autoload.php"
  20. }