summaryrefslogtreecommitdiff
blob: e356ca1c9d4b78f2b5d13eb10cb28000670a39e7 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Script Revised by Parag Mehta <pm@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-mail/vlnx/vlnx-414e-r2.ebuild,v 1.3 2002/07/11 06:30:48 drobbins Exp $

MY_P=${PN}${PV}

S=${WORKDIR}/${MY_P}
DESCRIPTION="McAfee VirusScanner for Unix/Linux(Shareware)"
SRC_URI="http://download.mcafee.com/products/evaluation/virusscan/english/unix/linux/${MY_P}.tar.Z
	 http://download.nai.com/products/datfiles/4.x/nai/dat-4153.tar"

DEPEND=""
RDEPEND="sys-devel/ld.so"
src_unpack() {
	cd ${WORKDIR}
	mkdir ${MY_P}
	cd ${MY_P}
	unpack vlnx414e.tar.Z
	tar -xf ${DISTDIR}/dat-4153.tar
}

src_install() {															 
	dodir /usr/bin
	insinto /usr/lib
	insopts -m 555
	doins liblnxfv.so
	insinto /usr/share/vscan
	insopts -m 755
	doins uvscan
	insopts -m 444
	doins *.dat
	dodoc *.txt *.pdf

	dosym /usr/share/vscan/uvscan /usr/bin/uvscan
	doman uvscan.1
}