circos-0.55-r1.ebuild 930 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. DESCRIPTION="Circular layout visualization of genomic and other data"
  5. HOMEPAGE="http://mkweb.bcgsc.ca/circos/"
  6. SRC_URI="http://mkweb.bcgsc.ca/circos/distribution/${P}.tgz"
  7. LICENSE="GPL-2"
  8. SLOT="0"
  9. IUSE=""
  10. KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
  11. DEPEND="dev-perl/Config-General
  12. dev-perl/GD
  13. dev-perl/Math-Bezier
  14. dev-perl/Math-Round
  15. dev-perl/Math-VecStat
  16. dev-perl/Params-Validate
  17. dev-perl/Readonly
  18. dev-perl/Regexp-Common
  19. >=dev-perl/Set-IntSpan-1.11
  20. dev-perl/Graphics-ColorObject
  21. dev-perl/List-MoreUtils"
  22. RDEPEND="${DEPEND}"
  23. src_install() {
  24. insinto /opt/${PN}
  25. doins -r */
  26. exeinto /opt/${PN}/bin
  27. doexe bin/circos bin/gddiag
  28. dosym /opt/${PN}/bin/circos /usr/bin/circos
  29. einstalldocs
  30. local d
  31. while IFS="" read -d $'\0' -r d; do
  32. dodoc "${d}"
  33. done < <(find * -maxdepth 0 -type f -print0)
  34. }