blob: 3d9181f13483cf8878b9cc54de297bb574bceefd (
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
45
46
47
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/f-prot/f-prot-4.2.1.ebuild,v 1.2 2003/10/05 17:42:59 hanno Exp $
IUSE=""
MY_P=fp-linux-ws-${PV}
S=${WORKDIR}/${PN}
DESCRIPTION="Frisk Software's f-prot virus scanner"
HOMEPAGE="http://www.f-prot.com/"
SRC_URI="ftp://ftp.f-prot.com/pub/linux/${MY_P}.tar.gz"
DEPEND=""
# unzip and perl are needed for the check-updates.pl script
RDEPEND=">=app-arch/unzip-5.42-r1
dev-lang/perl
dev-perl/libwww-perl"
PROVIDE="virtual/antivirus"
SLOT="0"
LICENSE="F-PROT"
KEYWORDS="x86 -sparc"
src_compile ()
{
echo "Nothing to compile."
}
src_install ()
{
cd ${S}
dobin f-prot.sh
dodir /opt/f-prot /var/tmp/f-prot
insinto /opt/f-prot
insopts -m 755
doins f-prot tools/check-updates.pl
insopts -m 644
doins *.DEF ENGLISH.TX0
doman man_pages/*
dodoc LICENSE* CHANGES INSTALL* README
dohtml doc_ws/*
dosed "s:/usr/local/f-prot:/opt/f-prot:g" /usr/bin/f-prot.sh /opt/f-prot/check-updates.pl
}
|