Lines 13-20
Link Here
|
13 |
KEYWORDS="~x86 ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390" |
13 |
KEYWORDS="~x86 ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390" |
14 |
IUSE="debug doc" |
14 |
IUSE="debug doc" |
15 |
|
15 |
|
16 |
RDEPEND="virtual/libc |
16 |
RDEPEND=">=dev-libs/glib-2 |
17 |
>=dev-libs/glib-2 |
|
|
18 |
!app-admin/fam" |
17 |
!app-admin/fam" |
19 |
|
18 |
|
20 |
DEPEND="${RDEPEND} |
19 |
DEPEND="${RDEPEND} |
Lines 27-61
Link Here
|
27 |
cd ${S} |
26 |
cd ${S} |
28 |
epatch ${FILESDIR}/${P}-flow-control.patch |
27 |
epatch ${FILESDIR}/${P}-flow-control.patch |
29 |
epatch ${FILESDIR}/${P}-cvs-upgrade.patch |
28 |
epatch ${FILESDIR}/${P}-cvs-upgrade.patch |
|
|
29 |
epatch ${FILESDIR}/${P}-freebsd.patch |
30 |
} |
30 |
} |
31 |
|
31 |
|
32 |
src_compile() { |
32 |
src_compile() { |
33 |
|
|
|
34 |
econf \ |
33 |
econf \ |
35 |
--enable-inotify \ |
34 |
$(use_enable kernel_linux inotify) \ |
36 |
`use_enable debug` \ |
35 |
`use_enable debug` \ |
37 |
`use_enable debug debug-api` \ |
36 |
`use_enable debug debug-api` \ |
38 |
|| die |
37 |
|| die |
39 |
|
38 |
|
40 |
emake || die "emake failed" |
39 |
emake || die "emake failed" |
41 |
|
|
|
42 |
} |
40 |
} |
43 |
|
41 |
|
44 |
src_install() { |
42 |
src_install() { |
45 |
|
|
|
46 |
make DESTDIR="${D}" install || die |
43 |
make DESTDIR="${D}" install || die |
47 |
|
44 |
|
48 |
dodoc AUTHORS ChangeLog README TODO NEWS doc/*txt |
45 |
dodoc AUTHORS ChangeLog README TODO NEWS doc/*txt |
49 |
|
46 |
|
50 |
use doc && dohtml doc/* |
47 |
use doc && dohtml doc/* |
51 |
|
|
|
52 |
} |
48 |
} |
53 |
|
49 |
|
54 |
pkg_postinst() { |
50 |
pkg_postinst() { |
55 |
|
51 |
if use kernel_linux; then |
56 |
einfo "It is strongly suggested you use Gamin with an inotify enabled" |
52 |
einfo "It is strongly suggested you use Gamin with an inotify enabled" |
57 |
einfo "kernel for best performance. For this release of gamin you need" |
53 |
einfo "kernel for best performance. For this release of gamin you need" |
58 |
einfo "at least an inotify 0.23-6 patched kernel, gentoo-dev-sources-2.6.12" |
54 |
einfo "at least an inotify 0.23-6 patched kernel, gentoo-dev-sources-2.6.12" |
59 |
einfo "provides this patch for example." |
55 |
einfo "provides this patch for example." |
60 |
|
56 |
fi |
61 |
} |
57 |
} |