summaryrefslogtreecommitdiff
path: root/packages/tcltk
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-25 02:56:18 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-25 02:56:18 +0100
commitbec1cb95ec834d9d5569702ad0a4d35e7c2d869f (patch)
tree1ce49d254f2577015be902367b9669c04b93dc4c /packages/tcltk
parent87f96d929d116b1141032edf83f37cb1cad742e8 (diff)
tcl: reinstate manual do_stage; necessary due to broken autotools usage
Diffstat (limited to 'packages/tcltk')
-rw-r--r--packages/tcltk/tcl_8.4.19.bb18
1 files changed, 15 insertions, 3 deletions
diff --git a/packages/tcltk/tcl_8.4.19.bb b/packages/tcltk/tcl_8.4.19.bb
index e6d32e9913..e70a2c861c 100644
--- a/packages/tcltk/tcl_8.4.19.bb
+++ b/packages/tcltk/tcl_8.4.19.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Tool Command Language"
LICENSE = "tcl"
SECTION = "devel/tcltk"
HOMEPAGE = "http://tcl.sourceforge.net"
-PR = "r1"
+PR = "r2"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
@@ -25,9 +25,21 @@ do_compile_prepend() {
}
do_stage() {
- autotools_stage_all
- mv libtcl8.4.so libtcl8.4.so.0
+ oe_libinstall -a libtclstub8.4 ${STAGING_LIBDIR}
oe_libinstall -so libtcl8.4 ${STAGING_LIBDIR}
+ sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
+ sed -i "s,-L${libdir},," tclConfig.sh
+ install -d ${STAGING_BINDIR_CROSS}/
+ install -m 0755 tclConfig.sh ${STAGING_BINDIR_CROSS}
+ cd ..
+ for dir in compat generic unix
+ do
+ install -d ${STAGING_INCDIR}/tcl${PV}/$dir
+ install -m 0644 $dir/*.h ${STAGING_INCDIR}/tcl${PV}/$dir/
+ done
+ install -m 0644 generic/tcl.h ${STAGING_INCDIR}
+ install -m 0644 generic/tclDecls.h ${STAGING_INCDIR}
+ install -m 0644 generic/tclPlatDecls.h ${STAGING_INCDIR}
}
do_install() {