summaryrefslogtreecommitdiffstats
path: root/extra/fcron/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/fcron/Pkgfile')
-rw-r--r--extra/fcron/Pkgfile34
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/fcron/Pkgfile b/extra/fcron/Pkgfile
new file mode 100644
index 000000000..8ee2f5f18
--- /dev/null
+++ b/extra/fcron/Pkgfile
@@ -0,0 +1,34 @@
+# 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=1
+source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz \
+ fcron)
+
+build() {
+ source /etc/blfs-bootscripts
+wget \
+http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+ tar xvf $scripts-$scriptsversion.tar.bz2
+ # build package
+ cd $name-$version
+ ./configure --prefix=/usr\
+ --sysconfdir=/etc \
+ --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/
+}