Magellan Linux

Contents of /branches/magellan-next/core/gamin/gamin-0.1.10-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8871 - (show annotations) (download)
Thu Aug 4 20:00:16 2011 UTC (12 years, 10 months ago) by niro
File size: 1098 byte(s)
-enabled the gam_server
1 # $Id$
2
3 PNAME="gamin"
4 PVER="0.1.10"
5 PBUILD="r3"
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 --enable-inotify \
36 --disable-debug \
37 --disable-debug-api \
38 --enable-server \
39 --without-python \
40 || die
41
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 }