summaryrefslogtreecommitdiff
blob: 8c40efa5bba59794b93e9c87d51dfa59bb6cbb50 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/vlnx/vlnx-414e-r2.ebuild,v 1.4 2004/10/03 22:03:19 swegener Exp $

MY_P=${PN}${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="McAfee VirusScanner for Unix/Linux(Shareware)"
SRC_URI="http://download.nai.com/products/evaluation/virusscan/english/cmdline/linux/version_4.14/${MY_P}.tar.Z
	 http://download.nai.com/products/datfiles/4.x/nai/dat-4240.tar"
HOMEPAGE="http://www.mcafeeb2b.com/"

SLOT="0"
LICENSE="VirusScan"
KEYWORDS="-* x86"
IUSE=""
RESTRICT="nostrip"

DEPEND=""
RDEPEND=""
PROVIDE="virtual/antivirus"

src_unpack() {
	cd ${WORKDIR}
	mkdir ${MY_P}
	cd ${MY_P}
	unpack vlnx414e.tar.Z
	tar -xf ${DISTDIR}/dat-4240.tar
}

src_install() {
	dodir /usr/bin
	insinto /opt/vlnx

	doins liblnxfv.so
	doins uvscan
	doins *.dat
	dodoc *.txt *.pdf
	doman uvscan.1
	chmod 755 ${D}/opt/vlnx/uvscan

	dodir /etc/env.d
	cp -f ${FILESDIR}/vlnx-${PV}-envd ${D}/etc/env.d/40vlnx
}