1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="Delayed delivery notification for qmail"
9 SRC_URI="http://untroubled.org/qmail-notify/archive/${P}.tar.gz"
10 HOMEPAGE="http://untroubled.org/qmail-notify/"
14 KEYWORDS="amd64 ~hppa ~ppc sparc x86"
26 echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die 'Patching conf-cc failed.'
27 echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die 'Patching conf-ld failed.'
28 sed -e "#'ar #'$(tc-getAR) #" -e "s#'ranlib #'$(tc-getRANLIB) #" -i Makefile || die 'Patching Makefile failed.'
35 exeinto /etc/cron.hourly
36 doexe "${FILESDIR}"/qmail-notify.cron
38 dodoc README ANNOUNCEMENT cron.hourly NEWS
43 elog "Edit qmail-notify.cron in /etc/cron.hourly"
44 elog "to activate qmail-notify!"