1 # Description: Multi-user cron daemon
2 # URL: http://apollo.backplane.com/FreeSrc
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX ARM System Team
10 source=(http://apollo.backplane.com/FreeSrc/dcron32.tgz \
11 crontab runjobs crond $name-$version.patch)
15 patch -p1 -i $SRC/$name-$version.patch
18 make DESTDIR=$PKG install
20 install -d $PKG/var/{spool/cron,log}
21 install -d $PKG/etc/{cron.d,cron/{hourly,daily,weekly,monthly}}
22 install -d -m 700 $PKG/var/spool/cron/crontabs
24 install -m 600 $SRC/crontab $PKG/var/spool/cron/crontabs/root
25 ln -s ../var/spool/cron/crontabs/root $PKG/etc/crontab
27 install -D -m 755 $SRC/crond $PKG/etc/rc.d/crond
28 install -D -m 755 $SRC/runjobs $PKG/usr/sbin/runjobs
30 touch $PKG/var/log/cron