summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sed/sed_4.1.2.bb
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 17:34:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:26:36 +0100
commit7d9c0be579bf2ab5984a7d906ea00e69f3d40090 (patch)
tree3580574553b34f8d55a125b1603f088ef37ac30b /meta/recipes-extended/sed/sed_4.1.2.bb
parent5230b712a882414237344f229aff5d20ddf7d13b (diff)
downloadpoky-7d9c0be579bf2ab5984a7d906ea00e69f3d40090.tar.gz
sed: cleanup update-alternatives deprecated code
(From OE-Core rev: c42bff2e0718c40d87b91672bec76c63e4c91c0a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sed/sed_4.1.2.bb')
-rw-r--r--meta/recipes-extended/sed/sed_4.1.2.bb9
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-extended/sed/sed_4.1.2.bb b/meta/recipes-extended/sed/sed_4.1.2.bb
index 3455c20703..821ff65fe5 100644
--- a/meta/recipes-extended/sed/sed_4.1.2.bb
+++ b/meta/recipes-extended/sed/sed_4.1.2.bb
@@ -4,7 +4,7 @@ LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
5 file://sed/sed.h;beginline=1;endline=17;md5=e00ffd1837f298439a214fd197f6a407" 5 file://sed/sed.h;beginline=1;endline=17;md5=e00ffd1837f298439a214fd197f6a407"
6SECTION = "console/utils" 6SECTION = "console/utils"
7PR = "r6" 7PR = "r7"
8 8
9SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz \ 9SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz \
10 file://fix_return_type.patch \ 10 file://fix_return_type.patch \
@@ -18,13 +18,12 @@ inherit autotools update-alternatives gettext
18do_install () { 18do_install () {
19 autotools_do_install 19 autotools_do_install
20 install -d ${D}${base_bindir} 20 install -d ${D}${base_bindir}
21 mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${BPN} 21 mv ${D}${bindir}/sed ${D}${base_bindir}/sed
22 rmdir ${D}${bindir}/ 22 rmdir ${D}${bindir}/
23} 23}
24 24
25ALTERNATIVE_NAME = "sed" 25ALTERNATIVE_${PN} = "sed"
26ALTERNATIVE_PATH = "sed.${BPN}" 26ALTERNATIVE_LINK_NAME[sed] = "${base_bindir}/sed"
27ALTERNATIVE_LINK = "${base_bindir}/sed"
28ALTERNATIVE_PRIORITY = "100" 27ALTERNATIVE_PRIORITY = "100"
29 28
30BBCLASSEXTEND = "native" 29BBCLASSEXTEND = "native"