summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@gmx.de>2012-02-09 22:09:51 +0100
committerDaniel Nagy <danielnagy@gmx.de>2012-02-09 22:09:51 +0100
commit9842e14f39fc6275c241229843d95fd46706f83a (patch)
tree19e47d47314aacaddef782f4c7d6c09477f40cd5 /sys-fs/iwatch/iwatch-0.2.2.ebuild
parentadding boost dependency to curlpp (diff)
downloaddrevilt-9842e14f39fc6275c241229843d95fd46706f83a.tar.gz
drevilt-9842e14f39fc6275c241229843d95fd46706f83a.tar.bz2
drevilt-9842e14f39fc6275c241229843d95fd46706f83a.zip
adding json-java, parallel-ant, hamlpy, ws4py, iwatch, owncloud
Diffstat (limited to 'sys-fs/iwatch/iwatch-0.2.2.ebuild')
-rw-r--r--sys-fs/iwatch/iwatch-0.2.2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-fs/iwatch/iwatch-0.2.2.ebuild b/sys-fs/iwatch/iwatch-0.2.2.ebuild
new file mode 100644
index 0000000..b1fb0d3
--- /dev/null
+++ b/sys-fs/iwatch/iwatch-0.2.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+
+DESCRIPTION="A realtime filesystem monitoring program."
+HOMEPAGE="http://sourceforge.net/projects/iwatch"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/perl
+ dev-perl/Linux-Inotify2
+ dev-perl/Event
+ dev-perl/Mail-Sendmail
+ dev-perl/XML-Simple
+ dev-perl/XML-SimpleObject"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ sed -i \
+ -e "s|/etc|${ROOT}usr/share/iwatch|" \
+ iwatch.xml{,.example} || die "sed failed"
+}
+
+src_install() {
+ dobin iwatch
+ dodoc AUTHORS ChangeLog README iwatch.xml iwatch.xml.example
+
+ insinto /usr/share/iwatch
+ doins iwatch.dtd
+}
+
+pkg_postinst() {
+ elog "Example configuration files are in ${ROOT}usr/share/doc/${PF}"
+}