Contents of /branches/R11-stable/core/gamin/gamin-0.1.10-r5.smage2
Parent Directory | Revision Log
Revision 13572 -
(show annotations)
(download)
Mon Oct 15 18:17:48 2012 UTC (11 years, 11 months ago) by niro
Original Path: trunk/core/gamin/gamin-0.1.10-r5.smage2
File size: 1156 byte(s)
Mon Oct 15 18:17:48 2012 UTC (11 years, 11 months ago) by niro
Original Path: trunk/core/gamin/gamin-0.1.10-r5.smage2
File size: 1156 byte(s)
-rebuild against glib-2.34
1 | # $Id$ |
2 | |
3 | PNAME="gamin" |
4 | PVER="0.1.10" |
5 | PBUILD="r5" |
6 | |
7 | PCAT="app-admin" |
8 | |
9 | DESCRIPTION="Gamin is a file and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor) system." |
10 | HOMEPAGE="http://people.gnome.org/~veillard/gamin/" |
11 | |
12 | DEPEND=">= dev-libs/glib2-2.34" |
13 | |
14 | SDEPEND=">= sys-dev/automake-3 |
15 | >= sys-dev/autoconf-4 |
16 | >= dev-util/pkgconfig-0.25" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude mbuild |
22 | |
23 | SRC_URI=( |
24 | http://people.gnome.org/~veillard/${PNAME}/sources/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd http://people.gnome.org/~veillard/gamin/sources/'?C=M;O=A' | lasttarball gz" |
29 | |
30 | src_compile() |
31 | { |
32 | cd ${SRCDIR} |
33 | |
34 | mconfigure \ |
35 | --libexecdir=/usr/$(mlibdir)/${PNAME} \ |
36 | --enable-inotify \ |
37 | --disable-debug \ |
38 | --disable-debug-api \ |
39 | --enable-server \ |
40 | --without-python \ |
41 | || die |
42 | |
43 | mmake || die |
44 | } |
45 | |
46 | preinstall() |
47 | { |
48 | if [[ ! -z $(magequery -n fam) ]] |
49 | then |
50 | echo "The package 'app-admin/fam' is superseeded by 'app-admin/gamin'." |
51 | echo "Both packages cannot co-exist on the same system," |
52 | echo "please uninstall 'app-admin/fam' first!" |
53 | die "'app-admin/fam' found!" |
54 | fi |
55 | } |