petrovich-1.0.0.ebuild 659 B

123456789101112131415161718192021222324252627282930313233
  1. # Copyright 1999-2009 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. inherit eutils
  4. S=${WORKDIR}/${PN}
  5. DESCRIPTION="Filesystem Integrity Checker"
  6. SRC_URI="mirror://sourceforge/petrovich/${P}.tar.gz"
  7. HOMEPAGE="https://sourceforge.net/projects/petrovich"
  8. IUSE=""
  9. SLOT="0"
  10. LICENSE="GPL-2"
  11. KEYWORDS="x86 ppc sparc"
  12. DEPEND="virtual/perl-Digest-MD5"
  13. src_unpack () {
  14. unpack ${A}
  15. cd "${WORKDIR}"
  16. epatch "${FILESDIR}"/${PF}-gentoo.diff
  17. }
  18. src_install() {
  19. dosbin petrovich.pl
  20. insinto /etc
  21. doins "${FILESDIR}"/petrovich.conf
  22. dodir /var/db/petrovich
  23. dohtml CHANGES.HTML LICENSE.HTML README.HTML TODO.HTML USAGE.HTML
  24. }