summaryrefslogtreecommitdiffstats
path: root/dcron/Pkgfile
blob: fa1fb10c046bcb3ec4ecd1d9aa8bca7e68d8aefa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
description="Multi-user cron daemon"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
url="http://www.jimpryor.net/linux/dcron.html"
depends=()

name=dcron
version=4.4
release=2
source=(http://www.jimpryor.net/linux/releases/dcron-4.4.tar.gz dcron.diff crontab runjobs crond)
build () 
{ 
    cd $name-$version;
    patch -p1 -i $SRC/dcron.diff;
    make PREFIX=/usr;
    make DESTDIR=$PKG MANDIR=/usr/man CRONTAB_GROUP=users install;
    install -m 600 $SRC/crontab $PKG/var/spool/cron/crontabs/root;
    ln -s ../var/spool/cron/crontabs/root $PKG/etc/crontab;
    install -D -m 755 $SRC/crond $PKG/etc/rc.d/crond;
    install -D -m 755 $SRC/runjobs $PKG/usr/sbin/runjobs;
    install -d $PKG/etc/cron/{hourly,daily,weekly,monthly}
}