summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-11-16 11:14:40 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-18 10:47:12 +0000
commitc42c487d1b2b1dcb07f8175f1ecee3855cfe4938 (patch)
tree56c85cf813f043a8f0a1c546b281f55f8196aa24 /meta/recipes-devtools/tcltk/tcl_8.5.11.bb
parente1f046c7fff76d33fbe786a7ea2473aa01114ee7 (diff)
downloadpoky-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.bb65
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 @@
1DESCRIPTION = "Tool Command Language"
2LICENSE = "tcl"
3SECTION = "devel/tcltk"
4HOMEPAGE = "http://tcl.sourceforge.net"
5DEPENDS = "tcl-native"
6LIC_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
14PR = "r0"
15
16BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
17 file://tcl-add-soname.patch"
18
19SRC_URI = "${BASE_SRC_URI} \
20 file://fix_non_native_build_issue.patch "
21
22SRC_URI[md5sum] = "b01a9691c83990b3db0ce62d1012ca67"
23SRC_URI[sha256sum] = "8addc385fa6b5be4605e6d68fbdc4c0e674c5af1dc1c95ec5420390c4b08042a"
24
25SRC_URI_virtclass-native = "${BASE_SRC_URI}"
26
27S = "${WORKDIR}/tcl${PV}/unix"
28
29inherit autotools
30
31DEPENDS_virtclass-native = ""
32
33EXTRA_OECONF = "--enable-threads"
34
35do_configure() {
36 gnu-configize
37 oe_runconf
38}
39
40do_compile_prepend() {
41 echo > ../compat/fixstrtod.c
42}
43
44do_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
60PACKAGES =+ "${PN}-lib"
61FILES_${PN}-lib = "${libdir}/libtcl8.5.so*"
62FILES_${PN} += "${prefix}/lib/tcl8.5"
63FILES_${PN}-dev += "${libdir}/tclConfig.sh"
64
65BBCLASSEXTEND = "native"