summaryrefslogtreecommitdiff
blob: fdaaf5c9be80362b294072a0125d9e0cdb70b7a0 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-mail/vlnx/vlnx-407e-r1.ebuild,v 1.2 2000/10/05 01:32:51 achim Exp $

P=vlnx407e
A="${P}.tar.Z dat-4098.tar"

S=${WORKDIR}/${P}
DESCRIPTION="Mc Afee VirusScanner (Shareware)"
SRC_URI="http://download.mcafee.com/products/evaluation/virusscan/english/unix/linux/vlnx407e.tar.Z
	 http://download.nai.com/products/datfiles/4.x/nai/dat-4098.tar"

src_unpack() {
  cd ${WORKDIR}
  mkdir ${P}
  cd ${P}
  unpack vlnx407e.tar.Z
  tar -xf ${DISTDIR}/dat-4098.tar
}

src_compile() {                           
  cd ${S}
}

src_install() {                               
  cd ${S}
  dodir /usr/bin
  insinto /usr/share/vscan
  insopts -m 755
  doins uvscan
  dosym /usr/share/vscan/uvscan /usr/bin/uvscan
  insopts -m 644
  doins *.dat
  dodoc *.txt *.pdf
}