2006-02-23 15:26:10 +00:00
|
|
|
# Description: Multi-user cron daemon
|
2010-01-28 17:46:38 +01:00
|
|
|
# URL: http://www.jimpryor.net/linux/dcron.html
|
2007-01-23 17:25:18 +00:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=dcron
|
2010-01-28 17:46:38 +01:00
|
|
|
version=4.4
|
2010-06-03 10:45:54 +00:00
|
|
|
release=2
|
2010-01-28 17:46:38 +01:00
|
|
|
source=(http://www.jimpryor.net/linux/releases/$name-$version.tar.gz \
|
2010-07-02 20:34:43 +02:00
|
|
|
dcron.diff crontab runjobs crond)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2010-01-28 17:46:38 +01:00
|
|
|
cd $name-$version
|
2008-09-25 12:00:54 +02:00
|
|
|
|
2010-07-02 20:34:43 +02:00
|
|
|
patch -p1 -i $SRC/dcron.diff
|
|
|
|
|
2010-01-28 17:46:38 +01:00
|
|
|
make PREFIX=/usr
|
|
|
|
make DESTDIR=$PKG MANDIR=/usr/man CRONTAB_GROUP=users install
|
2008-09-25 12:00:54 +02:00
|
|
|
|
|
|
|
install -m 600 $SRC/crontab $PKG/var/spool/cron/crontabs/root
|
2006-02-23 15:26:10 +00:00
|
|
|
ln -s ../var/spool/cron/crontabs/root $PKG/etc/crontab
|
2008-09-25 12:00:54 +02:00
|
|
|
install -D -m 755 $SRC/crond $PKG/etc/rc.d/crond
|
|
|
|
install -D -m 755 $SRC/runjobs $PKG/usr/sbin/runjobs
|
|
|
|
|
2010-01-28 17:46:38 +01:00
|
|
|
install -d $PKG/etc/cron/{hourly,daily,weekly,monthly}
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|