1 # Template file for 'dcron'
5 conf_files="/var/spool/cron/root"
6 provides="cron-daemon-0_1"
7 short_desc="Dillon's lightweight cron daemon"
8 maintainer="Juan RP <xtraeme@voidlinux.eu>"
9 homepage="http://www.jimpryor.net/linux/dcron.html"
11 distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
12 checksum=9e50edb6f5bd8153b16bad05087d985e5153ce45cc01ae77e7f842213fb4a824
15 crond:crond:/etc/sv/dcron
16 crond:crond:/usr/bin/dcrond
17 crond:crontab:/usr/bin/dcrontab
18 crond:crontab.1:/usr/share/man/man1/dcrontab.1
19 crond:crond.8:/usr/share/man/man8/dcrond.8
23 /etc/cron.d 0755 root root
24 /etc/cron.hourly 0755 root root
25 /etc/cron.weekly 0755 root root
26 /etc/cron.monthly 0755 root root
27 /etc/cron.yearly 0755 root root
28 /var/spool/cronstamps 0755 root root"
31 sed -i 's,-[og] root,,g' Makefile
34 make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
35 PREFIX=/usr CRONTAB_GROUP=$(whoami) CRONTABS=/var/spool/cron \
36 CRONSTAMPS=/var/spool/cronstamps ${makejobs}
39 make SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
42 install -Dm600 extra/root.crontab ${DESTDIR}/var/spool/cron/root
44 # crontab must be setuid for all users to work!
45 chmod 4755 ${DESTDIR}/usr/bin/crontab
49 # Fix conflicts with other packages
50 mv ${DESTDIR}/usr/bin/crond ${DESTDIR}/usr/bin/dcrond
51 mv ${DESTDIR}/usr/bin/crontab ${DESTDIR}/usr/bin/dcrontab
52 mv ${DESTDIR}/usr/share/man/man1/crontab.1 ${DESTDIR}/usr/share/man/man1/dcrontab.1
53 mv ${DESTDIR}/usr/share/man/man8/crond.8 ${DESTDIR}/usr/share/man/man8/dcrond.8