CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dcron: fixed 'Arch Maintainer' line
[crossrootfs.git] / dcron / Pkgfile
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, crux-arm at mikeux dot dyndns dot org
5 # Depends on:
6
7 name=dcron
8 version=3.2
9 release=2
10 source=(http://apollo.backplane.com/FreeSrc/dcron32.tgz \
11 crontab runjobs crond $name-$version.patch)
12
13 build() {
14 cd $name
15 patch -p1 -i $SRC/$name-$version.patch
16
17 make CC=$CC
18 make DESTDIR=$PKG install
19
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
23
24 install -m 600 $SRC/crontab $PKG/var/spool/cron/crontabs/root
25 ln -s ../var/spool/cron/crontabs/root $PKG/etc/crontab
26
27 install -D -m 755 $SRC/crond $PKG/etc/rc.d/crond
28 install -D -m 755 $SRC/runjobs $PKG/usr/sbin/runjobs
29
30 touch $PKG/var/log/cron
31 }