summaryrefslogtreecommitdiffstats
path: root/base/fam/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-09-21 18:40:22 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-09-21 18:40:22 +0200
commit433398f14f36f3f4cc4ab3e128c16f8ff3ef5dfd (patch)
tree445f86c639192184e6dc74103fc8916c0c3c8ff6 /base/fam/Pkgfile
parente31cb7fa4bff9b0da5a2c13405b005f31da8a4aa (diff)
downloadnutyx-extra-433398f14f36f3f4cc4ab3e128c16f8ff3ef5dfd.tar.gz
nutyx-extra-433398f14f36f3f4cc4ab3e128c16f8ff3ef5dfd.tar.bz2
nutyx-extra-433398f14f36f3f4cc4ab3e128c16f8ff3ef5dfd.tar.xz
nutyx-extra-433398f14f36f3f4cc4ab3e128c16f8ff3ef5dfd.zip
Ajout de fam#2.7.0-1
Diffstat (limited to 'base/fam/Pkgfile')
-rw-r--r--base/fam/Pkgfile43
1 files changed, 43 insertions, 0 deletions
diff --git a/base/fam/Pkgfile b/base/fam/Pkgfile
new file mode 100644
index 000000000..652158935
--- /dev/null
+++ b/base/fam/Pkgfile
@@ -0,0 +1,43 @@
+# Description: Contrôle de modification de fichiers
+# URL: http://oss.sgi.com/projects/fam/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=fam
+version=2.7.0
+release=1
+source=(ftp://oss.sgi.com/projects/fam/download/stable/$name-$version.tar.gz\
+ fam-2.7.0-dnotify.patch fam-2.7.0-largefiles.patch \
+ fam-2.7.0-limits.patch fam-2.7.0-buildfixes.patch famd)
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../fam-2.7.0-dnotify.patch
+ patch -Np1 -i ../fam-2.7.0-largefiles.patch
+ patch -Np0 -i ../fam-2.7.0-limits.patch
+ patch -Np1 -i ../$name-$version-buildfixes.patch
+
+ chmod 755 configure
+ autoheader
+ aclocal
+ automake
+ autoconf
+ libtoolize --copy --force
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/fam
+ make
+ make DESTDIR=$PKG install
+ install -D -m755 ../famd $PKG/etc/rc.d/init.d/famd
+ for i in 0 1 2 3 4 5 6
+ do mkdir -p $PKG/etc/rc.d/rc$i.d
+ done
+ for i in 0 1 6
+ do ln -sv ../init.d/famd $PKG/etc/rc.d/rc$i.d/K05famd
+ done
+ for i in 3 4 5
+ do ln -sv ../init.d/famd $PKG/etc/rc.d/rc$i.d/S50famd
+ done
+ rm -rf $PKG/usr/{include,lib}
+}