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