summaryrefslogtreecommitdiff
blob: 02c7cc0140b05b6d9ffdaf5dfed49e32be3cc08d (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header:

MY_P=fp-linux-sb-${PV}
S=${WORKDIR}/f-prot

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"

# unzip and wget are needed for the check-updates.sh script
DEPEND="virtual/glibc"
RDEPEND=">=app-arch/unzip-5.42-r1
	>=net-misc/wget-1.8.2"

SLOT="0"
LICENSE="F-PROT"
KEYWORDS="~x86 ~sparc"

IUSE=""

src_unpack () {

	unpack ${A}
	cd ${WORKDIR}
	patch -p0 < ${FILESDIR}/${PN}-${PV}.diff

}

src_compile () {
    echo "Nothing to compile."
}

src_install () {
    doman man8/f-prot.8 man8/check-updates.sh.8
    dodoc LICENSE CHANGES INSTALL.smallbusiness README

    dodir /opt/f-prot /opt/f-prot/tmp
    insinto /opt/f-prot
    insopts -m 755
    doins f-prot f-prot.sh check-updates.sh checksum
    insopts -m 644
    doins *.DEF ENGLISH.TX0
}