blob: b28bcccccfa34f05800c087c2eae26e5a54b56dc (
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 --with-docdir=/usr/doc \
18 --with-spooldir=/var/spool/fcron \
19 --with-fifodir=/var/run \
20 --with-boot-install=no \
21 --with-username=daemon \
22 --with-groupname=daemon \
23 --with-pam=no
24 make
25 make DESTDIR=$PKG install
26 rm -r $PKG/usr/{doc,man/{fr,man3}}
27 chown root:root $PKG/{var,var/spool}
28 chmod 755 $PKG/{var,var/spool}
29
30 install -D -m 755 $SRC/fcron $PKG/etc/rc.d/fcron
31 install -m 600 $SRC/root.orig $PKG/var/spool/fcron
32 }
|