1 # Maintainer: kfgz <kfgz at interia pl>
2 # Contributor: Allan McRae <allan at archlinux dot org>
3 # Contributor: Tom Newsom <Jeepster at gmx dot co dot uk>
8 pkgdesc="File Alteration Monitor"
10 license=('LGPL' 'GPL')
11 depends=('rpcbind' 'gcc-libs' 'bash')
12 url="http://oss.sgi.com/projects/fam/"
13 backup=('etc/fam/fam.conf')
14 options=('!makeflags' 'libtool')
15 source=(ftp://oss.sgi.com/projects/fam/download/stable/${pkgname}-${pkgver}.tar.gz
16 fam-2.7.0-dnotify.patch
17 fam-2.7.0-largefiles.patch
18 fam-2.7.0-limits.patch
19 fam-2.7.0-buildfixes.patch
21 md5sums=('1bf3ae6c0c58d3201afc97c6a4834e39'
22 '073d1763318344635ea316293390205c'
23 '47b41e0b0498793af004696a096d7da1'
24 '2638b8ffacb9f03b6e438e08ea7b290a'
25 'fc0cabc0ac4f819680401eb3090c29c9'
26 'ec50139679bc31508a843cafa47cd298')
29 cd "${srcdir}"/${pkgname}-${pkgver}
30 patch -p1 -i "${srcdir}"/fam-2.7.0-dnotify.patch
31 patch -p1 -i "${srcdir}"/fam-2.7.0-largefiles.patch
32 patch -p0 -i "${srcdir}"/fam-2.7.0-limits.patch
33 patch -p1 -i "${srcdir}"/fam-2.7.0-buildfixes.patch
41 libtoolize --copy --force
43 ./configure --prefix=/usr --sysconfdir=/etc/fam
48 cd "${srcdir}"/${pkgname}-${pkgver}
49 make DESTDIR="${pkgdir}" install
50 install -D -m755 "${srcdir}"/fam "${pkgdir}"/etc/rc.d/fam