View | Details | Raw Unified
Collapse All | Expand All

(-) gamin-0.1.0-r1.ebuild (-13 / +9 lines)
 Lines 13-20    Link Here 
KEYWORDS="~x86 ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390"
KEYWORDS="~x86 ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390"
IUSE="debug doc"
IUSE="debug doc"
RDEPEND="virtual/libc
RDEPEND=">=dev-libs/glib-2
	>=dev-libs/glib-2
	!app-admin/fam"
	!app-admin/fam"
DEPEND="${RDEPEND}
DEPEND="${RDEPEND}
 Lines 27-61    Link Here 
	cd ${S}
	cd ${S}
	epatch ${FILESDIR}/${P}-flow-control.patch
	epatch ${FILESDIR}/${P}-flow-control.patch
	epatch ${FILESDIR}/${P}-cvs-upgrade.patch
	epatch ${FILESDIR}/${P}-cvs-upgrade.patch
	epatch ${FILESDIR}/${P}-freebsd.patch
}
}
src_compile() {
src_compile() {
	econf \
	econf \
		--enable-inotify \
		$(use_enable kernel_linux inotify) \
		`use_enable debug` \
		`use_enable debug` \
		`use_enable debug debug-api` \
		`use_enable debug debug-api` \
		|| die
		|| die
	emake || die "emake failed"
	emake || die "emake failed"
}
}
src_install() {
src_install() {
	make DESTDIR="${D}" install || die
	make DESTDIR="${D}" install || die
	dodoc AUTHORS ChangeLog README TODO NEWS doc/*txt
	dodoc AUTHORS ChangeLog README TODO NEWS doc/*txt
	use doc && dohtml doc/*
	use doc && dohtml doc/*
}
}
pkg_postinst() {
pkg_postinst() {
	if use kernel_linux; then
	einfo "It is strongly suggested you use Gamin with an inotify enabled"
		einfo "It is strongly suggested you use Gamin with an inotify enabled"
	einfo "kernel for best performance. For this release of gamin you need"
		einfo "kernel for best performance. For this release of gamin you need"
	einfo "at least an inotify 0.23-6 patched kernel, gentoo-dev-sources-2.6.12"
		einfo "at least an inotify 0.23-6 patched kernel, gentoo-dev-sources-2.6.12"
	einfo "provides this patch for example."
		einfo "provides this patch for example."
	fi
}
}