2 DESCRIPTION = "Vixie cron."
6 SRC_URI = "http://ibiblio.org/pub/Linux/system/daemons/cron/cron${PV}.tar.gz \
7 file://nonrootinstall.patch;patch=1 \
8 file://time.patch;patch=1 \
10 S = "${WORKDIR}/cron${PV}"
12 INITSCRIPT_NAME = "cron"
13 INITSCRIPT_PARAMS = "defaults"
16 CFLAGS_append = " -I${S} -DSYS_TIME_H=0"
18 install -d ${D}${sbindir} ${D}${bindir}
19 install -d ${D}${sysconfdir}/init.d/
20 install -d ${D}/var/cron/tabs
21 install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/cron
22 oe_runmake 'DESTDIR=${D}' install
23 chmod ugo+rx ${D}${sbindir}/* ${D}${bindir}/*
26 update-rc.d cron defaults 65
30 update-rc.d cron remove