blob: 6b8945a4342afee7154b0053d39ac34fc1e97f0e (
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
40
41
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools linux-info
DESCRIPTION="A FUSE-based user-space file system with on-access anti-virus file scanning"
HOMEPAGE="https://github.com/burghardt/clamfs"
SRC_URI="https://github.com/burghardt/clamfs/releases/download/${P}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-libs/boost
dev-libs/poco
dev-libs/rlog
sys-fs/fuse:3"
RDEPEND="${DEPEND}
app-antivirus/clamav"
CONFIG_CHECK="~FUSE_FS"
src_prepare() {
# Do not use Werror ( #754180 )
sed -i 's/\-Werror//g' configure.ac || die "Sed failed"
default
eautoreconf
}
src_install() {
default
insinto /etc/clamfs
doins doc/clamfs.xml
newinitd "${FILESDIR}/${PN}.initd" ${PN}
newconfd "${FILESDIR}/${PN}.confd" ${PN}
dodoc AUTHORS ChangeLog NEWS README TODO
}
|