summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/less
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 17:11:33 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:26:33 +0100
commita260a6ed1b252244b68a29c73c312d81f30bfc4e (patch)
treeef8ba7cfc99e25057b3fb4f5bc9fd35c2cb41512 /meta/recipes-extended/less
parent1d1205698f33b489e70c8a88ea16f2b911be0a55 (diff)
downloadpoky-a260a6ed1b252244b68a29c73c312d81f30bfc4e.tar.gz
less: cleanup update-alternatives deprecated code
(From OE-Core rev: a8ad6529b214c1c7b12dffb557d9f7afa3ee1f04) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/less')
-rw-r--r--meta/recipes-extended/less/less_444.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-extended/less/less_444.bb b/meta/recipes-extended/less/less_444.bb
index 146b4fdeed..1ce9d926d2 100644
--- a/meta/recipes-extended/less/less_444.bb
+++ b/meta/recipes-extended/less/less_444.bb
@@ -23,7 +23,7 @@ LICENSE = "GPLv3+ | BSD-2-Clause"
23LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ 23LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
24 file://LICENSE;md5=1237c0f825bb36122b0b2b486ffbe6be" 24 file://LICENSE;md5=1237c0f825bb36122b0b2b486ffbe6be"
25DEPENDS = "ncurses" 25DEPENDS = "ncurses"
26PR = "r2" 26PR = "r3"
27 27
28SRC_URI = "http://www.greenwoodsoftware.com/${BPN}/${BPN}-${PV}.tar.gz" 28SRC_URI = "http://www.greenwoodsoftware.com/${BPN}/${BPN}-${PV}.tar.gz"
29 29
@@ -34,9 +34,7 @@ inherit autotools update-alternatives
34 34
35do_install () { 35do_install () {
36 oe_runmake 'bindir=${D}${bindir}' 'mandir=${D}${mandir}' install 36 oe_runmake 'bindir=${D}${bindir}' 'mandir=${D}${mandir}' install
37 mv ${D}${bindir}/less ${D}${bindir}/less.${BPN}
38} 37}
39 38
40ALTERNATIVE_NAME = "less" 39ALTERNATIVE_${PN} = "less"
41ALTERNATIVE_PATH = "less.${BPN}"
42ALTERNATIVE_PRIORITY = "100" 40ALTERNATIVE_PRIORITY = "100"