blob: f628a7f8495dc312cbf43f196eaa21dc97bb57cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# Maintainer: Thilo Bangert <bangert@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-notify/qmail-notify-0.92.ebuild,v 1.3 2002/04/27 21:46:44 bangert Exp $
S=${WORKDIR}/${P}
DEPEND="virtual/glibc"
RDEPEND="virtual/cron
net-mail/qmail"
DESCRIPTION="Delayed delivery notification for qmail."
SRC_URI="http://untroubled.org/qmail-notify/${P}.tar.gz"
HOMEPAGE="http://untroubled.org/qmail-notify/"
src_compile() {
cd ${S}
echo "gcc ${CFLAGS}" > conf-cc
echo "gcc" > conf-ld
emake || die
}
src_install () {
exeinto /usr/sbin
doexe qmail-notify
exeinto /etc/cron.hourly
doexe ${FILESDIR}/qmail-notify.cron
dodoc README ANNOUNCEMENT TODO cron.hourly
}
pkg_postinst() {
echo
einfo "Edit qmail-notify.cron in /etc/cron.hourly"
einfo "to activate qmail-notify!"
echo
}
|