diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-11-16 11:14:40 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-18 10:47:12 +0000 |
commit | c42c487d1b2b1dcb07f8175f1ecee3855cfe4938 (patch) | |
tree | 56c85cf813f043a8f0a1c546b281f55f8196aa24 /meta/recipes-devtools/tcltk/tcl_8.5.11.bb | |
parent | e1f046c7fff76d33fbe786a7ea2473aa01114ee7 (diff) | |
download | poky-c42c487d1b2b1dcb07f8175f1ecee3855cfe4938.tar.gz |
tcl: upgrade from 8.5.10 to 8.5.11
(From OE-Core rev: 9dd7382502b68da7353539b23e76980f7beb7ddc)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/tcltk/tcl_8.5.11.bb')
-rw-r--r-- | meta/recipes-devtools/tcltk/tcl_8.5.11.bb | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb new file mode 100644 index 0000000000..b1424f4e45 --- /dev/null +++ b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb | |||
@@ -0,0 +1,65 @@ | |||
1 | DESCRIPTION = "Tool Command Language" | ||
2 | LICENSE = "tcl" | ||
3 | SECTION = "devel/tcltk" | ||
4 | HOMEPAGE = "http://tcl.sourceforge.net" | ||
5 | DEPENDS = "tcl-native" | ||
6 | LIC_FILES_CHKSUM = "file://../license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \ | ||
7 | file://../compat/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \ | ||
8 | file://../library/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \ | ||
9 | file://../macosx/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \ | ||
10 | file://../tests/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \ | ||
11 | file://../win/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \ | ||
12 | " | ||
13 | |||
14 | PR = "r0" | ||
15 | |||
16 | BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \ | ||
17 | file://tcl-add-soname.patch" | ||
18 | |||
19 | SRC_URI = "${BASE_SRC_URI} \ | ||
20 | file://fix_non_native_build_issue.patch " | ||
21 | |||
22 | SRC_URI[md5sum] = "b01a9691c83990b3db0ce62d1012ca67" | ||
23 | SRC_URI[sha256sum] = "8addc385fa6b5be4605e6d68fbdc4c0e674c5af1dc1c95ec5420390c4b08042a" | ||
24 | |||
25 | SRC_URI_virtclass-native = "${BASE_SRC_URI}" | ||
26 | |||
27 | S = "${WORKDIR}/tcl${PV}/unix" | ||
28 | |||
29 | inherit autotools | ||
30 | |||
31 | DEPENDS_virtclass-native = "" | ||
32 | |||
33 | EXTRA_OECONF = "--enable-threads" | ||
34 | |||
35 | do_configure() { | ||
36 | gnu-configize | ||
37 | oe_runconf | ||
38 | } | ||
39 | |||
40 | do_compile_prepend() { | ||
41 | echo > ../compat/fixstrtod.c | ||
42 | } | ||
43 | |||
44 | do_install() { | ||
45 | autotools_do_install | ||
46 | oe_libinstall -so libtcl8.5 ${STAGING_LIBDIR} | ||
47 | ln -sf ./tclsh8.5 ${D}${bindir}/tclsh | ||
48 | sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh | ||
49 | sed -i "s,-L${libdir},," tclConfig.sh | ||
50 | install -d ${STAGING_BINDIR_CROSS}/ | ||
51 | install -m 0755 tclConfig.sh ${STAGING_BINDIR_CROSS} | ||
52 | cd .. | ||
53 | for dir in compat generic unix | ||
54 | do | ||
55 | install -d ${STAGING_INCDIR}/tcl${PV}/$dir | ||
56 | install -m 0644 $dir/*.h ${STAGING_INCDIR}/tcl${PV}/$dir/ | ||
57 | done | ||
58 | } | ||
59 | |||
60 | PACKAGES =+ "${PN}-lib" | ||
61 | FILES_${PN}-lib = "${libdir}/libtcl8.5.so*" | ||
62 | FILES_${PN} += "${prefix}/lib/tcl8.5" | ||
63 | FILES_${PN}-dev += "${libdir}/tclConfig.sh" | ||
64 | |||
65 | BBCLASSEXTEND = "native" | ||