CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux-ng: update to 2.19.1
[crossrootfs.git] / dcron / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: Multi-user cron daemon
2# URL: http://apollo.backplane.com/FreeSrc
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5# Depends on:
6
7name=dcron
611098a5
VM
8version=4.5
9release=1
279a2616
JB
10source=(http://www.jimpryor.net/linux/releases/$name-$version.tar.gz \
11 crontab runjobs crond)
6dca1d21
JB
12
13build() {
279a2616 14 cd $name-$version
6dca1d21 15
279a2616
JB
16 make CC=$CC PREFIX=/usr
17 make DESTDIR=$PKG MANDIR=/usr/man CRONTAB_GROUP=users install
6dca1d21 18
6dca1d21
JB
19 install -m 600 $SRC/crontab $PKG/var/spool/cron/crontabs/root
20 ln -s ../var/spool/cron/crontabs/root $PKG/etc/crontab
6dca1d21
JB
21 install -D -m 755 $SRC/crond $PKG/etc/rc.d/crond
22 install -D -m 755 $SRC/runjobs $PKG/usr/sbin/runjobs
23
499f01ba 24 install -d $PKG/etc/cron/{hourly,daily,weekly,monthly}
6dca1d21 25}