summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/time/time.inc10
-rw-r--r--meta/recipes-extended/time/time_1.7.bb2
2 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-extended/time/time.inc b/meta/recipes-extended/time/time.inc
index 2d9dab8e85..401288b0ce 100644
--- a/meta/recipes-extended/time/time.inc
+++ b/meta/recipes-extended/time/time.inc
@@ -6,3 +6,13 @@ SECTION = "utils"
6LICENSE = "GPLv2+" 6LICENSE = "GPLv2+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" 7LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
8 8
9inherit update-alternatives
10
11do_install_append () {
12 mv ${D}${bindir}/time ${D}${bindir}/time.${PN}
13}
14
15ALTERNATIVE_NAME = "time"
16ALTERNATIVE_LINK = "${bindir}/time"
17ALTERNATIVE_PATH = "${bindir}/time.${PN}"
18ALTERNATIVE_PRIORITY = "100"
diff --git a/meta/recipes-extended/time/time_1.7.bb b/meta/recipes-extended/time/time_1.7.bb
index 35afb1ea5a..c38608fd9e 100644
--- a/meta/recipes-extended/time/time_1.7.bb
+++ b/meta/recipes-extended/time/time_1.7.bb
@@ -1,5 +1,7 @@
1require time.inc 1require time.inc
2 2
3PR = "r1"
4
3SRC_URI = "${GNU_MIRROR}/time/time-${PV}.tar.gz \ 5SRC_URI = "${GNU_MIRROR}/time/time-${PV}.tar.gz \
4 file://debian.patch" 6 file://debian.patch"
5 7