# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Scalable samba anti-virus module" HOMEPAGE="http://olivier.sessink.nl" LICENSE="GPL-2" SRC_URI="http://olivier.sessink.nl/scannedonly/${P}.tar.gz" LICENSE="GPL-2" RESTRICT="mirror" SLOT="0" IUSE="" RDEPEND=">=net-fs/samba-3.5.0 app-antivirus/clamav" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" S=${WORKDIR}/${P} src_unpack() { unpack ${P}.tar.gz } src_compile() { epatch "${FILESDIR}"/${PF}.patch econf || die "econf failed!" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install all || die "emake install failed" newinitd ${FILESDIR}/${PF}.initd scannedonly newconfd ${FILESDIR}/${PF}.confd scannedonly }