summaryrefslogtreecommitdiffstats
path: root/fcron/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'fcron/Pkgfile')
-rw-r--r--fcron/Pkgfile36
1 files changed, 36 insertions, 0 deletions
diff --git a/fcron/Pkgfile b/fcron/Pkgfile
new file mode 100644
index 000000000..563407a7e
--- /dev/null
+++ b/fcron/Pkgfile
@@ -0,0 +1,36 @@
+# Description: Gestionnaire de tâches planifiées
+# URL: http://fcron.free.fr
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=fcron
+version=3.0.4
+release=2
+source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz \
+ fcron)
+
+build() {
+ unset MAKEFLAGS
+ source /etc/blfs-bootscripts
+wget \
+http://nutyx.meticul.eu/files/patchs/aaabasicfs/$scripts-$scriptsversion.tar.bz2
+ tar xvf $scripts-$scriptsversion.tar.bz2
+ # build package
+ cd $name-$version
+ ./configure --prefix=/usr\
+ --sysconfdir=/etc \
+ --with-pam=no \
+ --without-sendmail\
+ --localstatedir=/var \
+ --with-boot-install=no\
+ --mandir=/usr/share/man\
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
+ # Install the script
+ cd ../$scripts-$scriptsversion
+ make DESTDIR=$PKG install-fcron
+ rm -rf $PKG/usr/share/doc
+# install -m755 ../fcron $PKG/etc/rc.d/init.d/
+}