durep-0.9-r4.ebuild 746 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=4
  4. inherit eutils
  5. DESCRIPTION="A perl script designed for monitoring disk usage in a more visual way than du"
  6. HOMEPAGE="https://gentoo.org"
  7. SRC_URI="http://www.hibernaculum.net/download/${P}.tar.gz"
  8. LICENSE="Artistic"
  9. SLOT="0"
  10. KEYWORDS="amd64 ppc x86"
  11. IUSE=""
  12. DEPEND="dev-lang/perl"
  13. RDEPEND="${DEPEND}
  14. dev-perl/MLDBM
  15. virtual/perl-Getopt-Long
  16. virtual/perl-Term-ANSIColor"
  17. src_prepare() {
  18. epatch "${FILESDIR}"/${P}-gigabyte.patch \
  19. "${FILESDIR}"/${PF}-color-output.patch \
  20. "${FILESDIR}"/${P}-dirhandle.patch
  21. }
  22. src_install() {
  23. dobin durep
  24. doman durep.1
  25. dodoc BUGS CHANGES README THANKS
  26. dohtml -A cgi *.cgi *.css *.png
  27. }