49b18f97347ed89c9ff1a73d44c4b62a3630ce9d
[vuplus_openembedded] / cron / cron_3.0pl1.oe
1 DEPENDS = "virtual/libc"
2 RDEPENDS = "libc6"
3 DESCRIPTION = "Vixie cron."
4
5 SRC_URI = http://ibiblio.org/pub/Linux/system/daemons/cron/cron${PV}.tar.gz \
6           file://${FILESDIR}/nonrootinstall.patch;patch=1 \
7           file://${FILESDIR}/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 }