diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2010-09-01 11:18:15 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-02 09:50:50 +0100 |
commit | c4ecd356d17e243655dd580b0636be1fe6ad4e77 (patch) | |
tree | ce09af1741b76149b438e58698c4cb7443f3520f | |
parent | 8232e014379dcb51938b5328c30630997da05f38 (diff) | |
download | poky-c4ecd356d17e243655dd580b0636be1fe6ad4e77.tar.gz |
sed: Upgraded to the latest version 4.2.1
sed version 4.2.1 is under GPLv3 license
inherit update-altenatives to handle the install priority issue
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
-rw-r--r-- | meta/recipes-extended/sed/sed_4.2.1.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-extended/sed/sed_4.2.1.bb b/meta/recipes-extended/sed/sed_4.2.1.bb new file mode 100644 index 0000000000..5147b0d12e --- /dev/null +++ b/meta/recipes-extended/sed/sed_4.2.1.bb | |||
@@ -0,0 +1,25 @@ | |||
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 | DEPENDS = "gettext" | ||
10 | |||
11 | SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz" | ||
12 | |||
13 | inherit autotools update-alternatives | ||
14 | |||
15 | do_install () { | ||
16 | autotools_do_install | ||
17 | install -d ${D}${base_bindir} | ||
18 | mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN} | ||
19 | } | ||
20 | |||
21 | ALTERNATIVE_NAME = "sed" | ||
22 | ALTERNATIVE_PATH = "sed.${PN}" | ||
23 | ALTERNATIVE_PRIORITY = "100" | ||
24 | |||
25 | BBCLASSEXTEND = "native" | ||