diff options
Diffstat (limited to 'sys-process/incron/incron-0.5.5.ebuild')
-rw-r--r-- | sys-process/incron/incron-0.5.5.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sys-process/incron/incron-0.5.5.ebuild b/sys-process/incron/incron-0.5.5.ebuild new file mode 100644 index 000000000..0fb72e5bf --- /dev/null +++ b/sys-process/incron/incron-0.5.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils linux-mod + +DESCRIPTION="INotify based cron daemon" +HOMEPAGE="http://incron.aiken.cz/" +SRC_URI="http://inotify.aiken.cz/download/incron/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64" + +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack "${A}" + cd "${S}" + epatch ${FILESDIR}/${P}-gentoo.patch +} + +src_compile() { + ebegin "Checking for INOTIFY support" + linux_chkconfig_present INOTIFY + eend $? + + if [[ $? -ne 0 ]]; then + die "INOTIFY support not enabled" + fi + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} |