diff options
Diffstat (limited to 'sys-fs/clamfs/clamfs-1.0.1-r1.ebuild')
-rw-r--r-- | sys-fs/clamfs/clamfs-1.0.1-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sys-fs/clamfs/clamfs-1.0.1-r1.ebuild b/sys-fs/clamfs/clamfs-1.0.1-r1.ebuild new file mode 100644 index 00000000000..39286e31129 --- /dev/null +++ b/sys-fs/clamfs/clamfs-1.0.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" +inherit eutils linux-info + +DESCRIPTION="A FUSE-based user-space file system with on-access anti-virus file scanning" +HOMEPAGE="http://clamfs.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-libs/boost-1.33 + sys-fs/fuse + dev-cpp/commoncpp2 + dev-libs/rlog + dev-libs/poco" +RDEPEND="${DEPEND} + app-antivirus/clamav" + +CONFIG_CHECK="~FUSE_FS" + +src_prepare() { + epatch \ + "${FILESDIR}/${P}-gentoo.patch" \ + "${FILESDIR}/${P}-gcc45.patch" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + + insinto /etc/clamfs + doins doc/clamfs.xml || die + + newinitd "${FILESDIR}/${PN}.initd" ${PN} || die + newconfd "${FILESDIR}/${PN}.confd" ${PN} || die + + dodoc AUTHORS ChangeLog NEWS README TODO || die +} |