summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/time/time.inc
blob: 401288b0ceb77b146679a248b23dfeb4c161e9b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.${PN}
}

ALTERNATIVE_NAME = "time"
ALTERNATIVE_LINK = "${bindir}/time"
ALTERNATIVE_PATH = "${bindir}/time.${PN}"
ALTERNATIVE_PRIORITY = "100"