poolmon-0.5.ebuild 650 B

1234567891011121314151617181920212223242526272829
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. DESCRIPTION="A director mailserver pool monitoring script for Dovecot"
  5. HOMEPAGE="https://github.com/brandond/poolmon"
  6. SRC_URI="https://github.com/brandond/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
  7. LICENSE="GPL-2"
  8. SLOT="0"
  9. KEYWORDS="~amd64 ~x86"
  10. IUSE=""
  11. DEPEND=""
  12. RDEPEND="
  13. dev-perl/IO-Socket-SSL
  14. net-mail/dovecot
  15. "
  16. src_install() {
  17. dobin poolmon
  18. dodoc README
  19. newinitd "${FILESDIR}"/poolmon.init poolmon
  20. newconfd "${FILESDIR}"/poolmon.conf poolmon
  21. insinto /etc/logrotate.d/
  22. newins "${FILESDIR}"/poolmon.logrotate poolmon
  23. }