diff options
Diffstat (limited to 'app-antivirus/skyldav/skyldav-0.2_rc3.ebuild')
-rw-r--r-- | app-antivirus/skyldav/skyldav-0.2_rc3.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-antivirus/skyldav/skyldav-0.2_rc3.ebuild b/app-antivirus/skyldav/skyldav-0.2_rc3.ebuild new file mode 100644 index 0000000..548ea6e --- /dev/null +++ b/app-antivirus/skyldav/skyldav-0.2_rc3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +AUTOTOOLS_AUTORECONF="1" + +inherit flag-o-matic linux-info linux-mod autotools-utils + +MY_PV=${PV/_rc/rc} +MY_P="${PN}-${MY_PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Skyld AV: on-access scanning daemon for ClamAV using fanotify" +SRC_URI="https://github.com/xypron/skyldav/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" +HOMEPAGE="http://xypron.github.io/skyldav/" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="Apache-2.0" +IUSE="" + +RDEPEND="sys-apps/util-linux + sys-libs/libcap + media-libs/libcanberra[gtk] + x11-libs/libnotify + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + sys-devel/autoconf-archive" + +DOCS=( AUTHORS NEWS README ) + +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + linux-info_pkg_setup + kernel_is ge 3 8 0 || die "Linux 3.8.0 or newer recommended" + CONFIG_CHECK="FANOTIFY FANOTIFY_ACCESS_PERMISSIONS" + check_extra_config +} + +src_prepare() { + epatch "${FILESDIR}/${P}-examples.patch" + epatch "${FILESDIR}/${P}-sbin.patch" + epatch "${FILESDIR}/${P}-conf.patch" + epatch "${FILESDIR}/${P}-openlog.patch" + autotools-utils_src_prepare +} + +src_install() { + autotools-utils_src_install + newinitd "${FILESDIR}/${PN}.initd" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} +} |