summaryrefslogtreecommitdiff
path: root/cron/cron_3.0pl1.oe
blob: 4ab4ad4393a3e1244d154dddcef3709e2ff65a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DEPENDS = "virtual/libc"
RDEPENDS = "libc6"
DESCRIPTION = "Vixie cron."

SRC_URI = "http://ibiblio.org/pub/Linux/system/daemons/cron/cron${PV}.tar.gz \
	   file://${FILESDIR}/nonrootinstall.patch;patch=1 \
	   file://${FILESDIR}/time.patch;patch=1"
S = "${WORKDIR}/cron${PV}"

CFLAGS_append = " -I${S} -DSYS_TIME_H=0"
do_install () {
	install -d ${D}/${sbindir} ${D}/${bindir}
	oe_runmake 'DESTDIR=${D}' install
	chmod ugo+rx ${D}/${sbindir}/* ${D}/${bindir}/*
}