blob: 31d4c4ce822d3772487e65e492aee2983571f611 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/amavis/amavis-0.2.1-r2.ebuild,v 1.11 2003/02/13 14:22:22 vapier Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Virus Scanner"
SRC_URI="http://www.amavis.org/dist/${P}.tar.gz"
HOMEPAGE="http://www.amavis.org/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc "
DEPEND="net-mail/maildrop
>=net-mail/tnef-0.13
>=net-mail/vlnx-407e
net-mail/qmail"
src_compile() {
./reconf
econf \
--with-logdir=/var/log/scanmail \
--with-virusdir=/var/tmp/virusmails \
--enable-qmail || die
make || die
}
src_install() {
try make prefix=${D}/usr install
into /usr
dodoc AUTHORS BUGS COPYING ChangeLog FAQ HINTS NEWS README* TODO
dodoc doc/amavis.txt
dohtml -r doc
dodir /var/log/scanmail
dodir /var/tmp/virusmails
chmod 777 ${D}/var/log/scanmail
chmod 777 ${D}/var/tmp/virusmails
}
|