diff options
Diffstat (limited to 'meta/recipes-extended/sed/sed_4.2.2.bb')
-rw-r--r-- | meta/recipes-extended/sed/sed_4.2.2.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-extended/sed/sed_4.2.2.bb b/meta/recipes-extended/sed/sed_4.2.2.bb new file mode 100644 index 0000000000..8f4e0419e5 --- /dev/null +++ b/meta/recipes-extended/sed/sed_4.2.2.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | DESCRIPTION = "sed is a Stream EDitor." | ||
2 | HOMEPAGE = "http://www.gnu.org/software/sed/" | ||
3 | LICENSE = "GPLv3+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ | ||
5 | file://sed/sed.h;beginline=1;endline=17;md5=767ab3a06d7584f6fd0469abaec4412f" | ||
6 | SECTION = "console/utils" | ||
7 | PR = "r0" | ||
8 | |||
9 | SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz" | ||
10 | |||
11 | SRC_URI[md5sum] = "4111de4faa3b9848a0686b2f260c5056" | ||
12 | SRC_URI[sha256sum] = "fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff" | ||
13 | |||
14 | inherit autotools update-alternatives gettext | ||
15 | |||
16 | EXTRA_OECONF = "--disable-acl" | ||
17 | |||
18 | do_install () { | ||
19 | autotools_do_install | ||
20 | install -d ${D}${base_bindir} | ||
21 | mv ${D}${bindir}/sed ${D}${base_bindir}/sed | ||
22 | rmdir ${D}${bindir}/ | ||
23 | } | ||
24 | |||
25 | ALTERNATIVE_${PN} = "sed" | ||
26 | ALTERNATIVE_LINK_NAME[sed] = "${base_bindir}/sed" | ||
27 | ALTERNATIVE_PRIORITY = "100" | ||
28 | |||
29 | BBCLASSEXTEND = "native" | ||