mummer-3.23.ebuild 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit flag-o-matic toolchain-funcs
  5. DESCRIPTION="A rapid whole genome aligner"
  6. HOMEPAGE="http://mummer.sourceforge.net/"
  7. SRC_URI="mirror://sourceforge/mummer/MUMmer${PV}.tar.gz"
  8. LICENSE="Artistic"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE="doc"
  12. DEPEND=""
  13. RDEPEND="
  14. app-shells/tcsh
  15. dev-lang/perl"
  16. S=${WORKDIR}/MUMmer${PV}
  17. PATCHES=(
  18. "${FILESDIR}"/${PN}-3.23-fix-build-system.patch
  19. "${FILESDIR}"/${PN}-3.23-fix-c++-qa.patch
  20. "${FILESDIR}"/${PN}-3.23-fix-shebangs.patch
  21. )
  22. src_configure() {
  23. use amd64 && append-cppflags -DSIXTYFOURBITS
  24. tc-export AR CC CXX
  25. }
  26. src_install() {
  27. dobin src/kurtz/mm3src/mummer
  28. dobin src/tigr/{combineMUMs,delta-filter,gaps,mgaps,postnuc,postpro,prenuc,prepro,repeat-match,show-aligns,show-coords,show-tiling,show-snps,show-diff}
  29. dobin scripts/{exact-tandems,mapview,mummerplot,dnadiff,nucmer,promer,run-mummer1,run-mummer3,nucmer2xfig}
  30. newbin src/tigr/annotate mummer-annotate
  31. insinto /usr/share/${PN}/lib
  32. doins scripts/Foundation.pm
  33. einstalldocs
  34. use doc && dodoc -r docs/.
  35. }