sagan-rules-99999999.ebuild 535 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright 1999-2012 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=4
  4. inherit git-2
  5. DESCRIPTION="Rules for Sagan log analyzer"
  6. HOMEPAGE="http://sagan.softwink.com/"
  7. EGIT_REPO_URI="https://github.com/beave/sagan-rules.git"
  8. LICENSE="BSD"
  9. SLOT="0"
  10. KEYWORDS=""
  11. IUSE="+lognorm"
  12. DEPEND=""
  13. RDEPEND="${DEPEND}"
  14. PDEPEND="app-admin/sagan"
  15. S="${WORKDIR}"/rules
  16. src_install() {
  17. insinto /etc/sagan-rules
  18. doins ./*.config
  19. doins ./*rules
  20. if use lognorm; then
  21. doins ./*normalize.rulebase
  22. fi
  23. }