blob: 876dfd6851ad52810b691151505d5a157cb6ce8b (
plain)
1 # Description: Enhanced periodical command scheduler like cron
2 # URL: http://fcron.free.fr
3 # Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
4
5 name=fcron
6 version=3.0.1
7 release=1
8 source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz \
9 $name-config.patch fcron root.orig)
10
11 build () {
12 cd $name-$version
13 patch -p1 < $SRC/$name-config.patch
14 autoconf
15 ./configure --prefix=/usr \
16 --with-etcdir=/etc/fcron \
17 --mandir=/usr/man \
18 --with-docdir=/usr/doc \
19 --with-spooldir=/var/spool/fcron \
20 --with-fifodir=/var/run \
21 --with-boot-install=no \
22 --with-username=daemon \
23 --with-groupname=daemon \
24 --with-pam=no
25 make
26 make DESTDIR=$PKG install
27 rm -r $PKG/usr/{doc,man/{fr,man3}}
28 chown root:root $PKG/{var,var/spool}
29 chmod 755 $PKG/{var,var/spool}
30
31 install -D -m 755 $SRC/fcron $PKG/etc/rc.d/fcron
32 install -m 600 $SRC/root.orig $PKG/var/spool/fcron
33 }
|