1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 DESCRIPTION="Panda Antivirus for Linux"
6 HOMEPAGE="http://www.pandasoftware.com/download/linux/linux.asp"
7 SRC_URI="http://shareware.pandasoftware.com/shareware/pavcl_linux.tgz"
10 LICENSE="Panda-Freeware"
16 PROVIDE="virtual/antivirus"
18 RESTRICT="mirror strip"
19 QA_TEXTRELS_x86="opt/pavcl/usr/lib/libPsk*.so.*"
26 echo "PATH=\"/opt/pavcl/usr/bin\"" >> "${D}"/etc/env.d/90panda
27 echo "MANPATH=\"/opt/pavcl/usr/man\"" >> "${D}"/etc/env.d/90panda
31 elog "See \"man pavcl\" for usage instructions."
33 elog "Updated virus definitions are not available for free."
34 elog "You need a username and password to download them"
35 elog "from http://acs.pandasoftware.com/software/basevirus/"
39 einfo "Removing stale logdir..."
40 [[ -d "${ROOT}/opt/pavcl/var/log/panda" ]] && rm -rf "${ROOT}/opt/pavcl/var/log/panda"