diff options
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/sed/sed_4.1.2.bb | 9 | ||||
-rw-r--r-- | meta/recipes-extended/sed/sed_4.2.1.bb | 9 |
2 files changed, 8 insertions, 10 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+" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | 4 | LIC_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" |
6 | SECTION = "console/utils" | 6 | SECTION = "console/utils" |
7 | PR = "r6" | 7 | PR = "r7" |
8 | 8 | ||
9 | SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz \ | 9 | SRC_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 | |||
18 | do_install () { | 18 | do_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 | ||
25 | ALTERNATIVE_NAME = "sed" | 25 | ALTERNATIVE_${PN} = "sed" |
26 | ALTERNATIVE_PATH = "sed.${BPN}" | 26 | ALTERNATIVE_LINK_NAME[sed] = "${base_bindir}/sed" |
27 | ALTERNATIVE_LINK = "${base_bindir}/sed" | ||
28 | ALTERNATIVE_PRIORITY = "100" | 27 | ALTERNATIVE_PRIORITY = "100" |
29 | 28 | ||
30 | BBCLASSEXTEND = "native" | 29 | BBCLASSEXTEND = "native" |
diff --git a/meta/recipes-extended/sed/sed_4.2.1.bb b/meta/recipes-extended/sed/sed_4.2.1.bb index b39eca0bc0..96c509a170 100644 --- a/meta/recipes-extended/sed/sed_4.2.1.bb +++ b/meta/recipes-extended/sed/sed_4.2.1.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "GPLv3+" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ |
5 | file://sed/sed.h;beginline=1;endline=17;md5=767ab3a06d7584f6fd0469abaec4412f" | 5 | file://sed/sed.h;beginline=1;endline=17;md5=767ab3a06d7584f6fd0469abaec4412f" |
6 | SECTION = "console/utils" | 6 | SECTION = "console/utils" |
7 | PR = "r3" | 7 | PR = "r5" |
8 | 8 | ||
9 | SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz" | 9 | SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz" |
10 | 10 | ||
@@ -18,13 +18,12 @@ EXTRA_OECONF = "--disable-acl" | |||
18 | do_install () { | 18 | do_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 | ||
25 | ALTERNATIVE_NAME = "sed" | 25 | ALTERNATIVE_${PN} = "sed" |
26 | ALTERNATIVE_PATH = "sed.${BPN}" | 26 | ALTERNATIVE_LINK_NAME[sed] = "${base_bindir}/sed" |
27 | ALTERNATIVE_LINK = "${base_bindir}/sed" | ||
28 | ALTERNATIVE_PRIORITY = "100" | 27 | ALTERNATIVE_PRIORITY = "100" |
29 | 28 | ||
30 | BBCLASSEXTEND = "native" | 29 | BBCLASSEXTEND = "native" |