qmail-notify-0.93-r1.ebuild 848 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. inherit toolchain-funcs
  4. DESCRIPTION="Delayed delivery notification for qmail"
  5. SRC_URI="http://untroubled.org/qmail-notify/archive/${P}.tar.gz"
  6. HOMEPAGE="http://untroubled.org/qmail-notify/"
  7. SLOT="0"
  8. LICENSE="GPL-2"
  9. KEYWORDS="amd64 ~hppa ~ppc sparc x86"
  10. IUSE=""
  11. DEPEND=""
  12. RDEPEND="
  13. ${DEPEND}
  14. virtual/cron
  15. virtual/qmail
  16. "
  17. src_compile() {
  18. echo "$(tc-getCC) ${CFLAGS}" > conf-cc
  19. echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
  20. emake || die
  21. }
  22. src_install () {
  23. exeinto /usr/sbin
  24. doexe qmail-notify
  25. exeinto /etc/cron.hourly
  26. doexe "${FILESDIR}"/qmail-notify.cron
  27. dodoc README ANNOUNCEMENT TODO cron.hourly NEWS VERSION
  28. }
  29. pkg_postinst() {
  30. echo
  31. elog "Edit qmail-notify.cron in /etc/cron.hourly"
  32. elog "to activate qmail-notify!"
  33. echo
  34. }