generic-poky/meta/recipes-extended/time/time.inc
Mark Hatle ae68cb6b00 time: use BPN for alternatives
(From OE-Core rev: 0a621679772d7996c6342ad1e99de484082d9987)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:38 +01:00

19 lines
557 B
PHP

SUMMARY = "Tool that measures CPU resources"
DESCRIPTION = "time measures many of the CPU resources, such as time and \
memory, that other programs use."
HOMEPAGE = "http://www.gnu.org/software/time/"
SECTION = "utils"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
inherit update-alternatives
do_install_append () {
mv ${D}${bindir}/time ${D}${bindir}/time.${BPN}
}
ALTERNATIVE_NAME = "time"
ALTERNATIVE_LINK = "${bindir}/time"
ALTERNATIVE_PATH = "${bindir}/time.${BPN}"
ALTERNATIVE_PRIORITY = "100"