Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / cron / cron_3.0pl1.oe
1 SECTION = "base"
2 DESCRIPTION = "Vixie cron."
3 LICENSE = "cron"
4
5 SRC_URI = "http://ibiblio.org/pub/Linux/system/daemons/cron/cron${PV}.tar.gz \
6            file://nonrootinstall.patch;patch=1 \
7            file://time.patch;patch=1"
8 S = "${WORKDIR}/cron${PV}"
9
10 CFLAGS_append = " -I${S} -DSYS_TIME_H=0"
11 do_install () {
12         install -d ${D}/${sbindir} ${D}/${bindir}
13         oe_runmake 'DESTDIR=${D}' install
14         chmod ugo+rx ${D}/${sbindir}/* ${D}/${bindir}/*
15 }