# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-antivirus/klamav/klamav-0.44.ebuild,v 1.1 2008/08/22 18:40:00 tgurr Exp $ ARTS_REQUIRED="never" inherit kde MY_P="${P}-source" S="${WORKDIR}/${MY_P}/${P}" DESCRIPTION="KlamAV is a KDE frontend for the ClamAV antivirus." HOMEPAGE="http://klamav.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" DEPEND=">=app-antivirus/clamav-0.94" RDEPEND="${DEPEND}" need-kde 3.5 src_unpack(){ kde_src_unpack # Fix .desktop entry. epatch "${FILESDIR}/klamav-0.43-desktop-entry.diff" epatch "${FILESDIR}/klamav-0.44-clamav094.patch" # Assure a future version won't try to build this. rm -rf "${WORKDIR}/${MY_P}/dazuko"* || die "We missed to eradicate some files" rm -f "${S}"/configure } src_compile(){ # Disable updates from the GUI. We have package managers for that. cf. bug 171414 myconf="--with-disableupdates" kde_src_compile } pkg_postinst(){ elog "The on-access scanning functionality is provided by" elog "the Dazuko kernel module. To use it, install sys-fs/dazuko." }