Contents of /branches/magellan-next/core/gamin/gamin-0.1.10-r4.smage2
Parent Directory | Revision Log
Revision 8962 -
(show annotations)
(download)
Fri Aug 26 17:36:51 2011 UTC (13 years, 1 month ago) by niro
File size: 1140 byte(s)
Fri Aug 26 17:36:51 2011 UTC (13 years, 1 month ago) by niro
File size: 1140 byte(s)
-fixed libexec dir
1 | # $Id$ |
2 | |
3 | PNAME="gamin" |
4 | PVER="0.1.10" |
5 | PBUILD="r4" |
6 | |
7 | PCATEGORIE="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="" |
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 | } |