summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-09-25 00:45:57 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-25 00:45:57 +0000
commit5f4f99dd916ac86e40b58decb2a0163067edce58 (patch)
tree041bf83045617b9171e58525ce038d5403b2959d /packages
parentc9c81c0a113c3695227e721cae4408aa1e4a5876 (diff)
tcl/tk: install header files into $STAGING_DIR
Diffstat (limited to 'packages')
-rw-r--r--packages/tcltk/tcl_8.4.11.bb12
-rw-r--r--packages/tcltk/tk_8.4.11.bb12
2 files changed, 21 insertions, 3 deletions
diff --git a/packages/tcltk/tcl_8.4.11.bb b/packages/tcltk/tcl_8.4.11.bb
index f4691305b2..e56982aac8 100644
--- a/packages/tcltk/tcl_8.4.11.bb
+++ b/packages/tcltk/tcl_8.4.11.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Tool Command Language"
LICENSE = "tcl"
SECTION = "devel/tcltk"
HOMEPAGE = "http://tcl.sourceforge.net"
-PR = "r0"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz"
S = "${WORKDIR}/tcl${PV}/unix"
@@ -24,6 +24,15 @@ do_stage() {
oe_libinstall -a libtclstub8.4 ${STAGING_LIBDIR}
oe_libinstall -so libtcl8.4 ${STAGING_LIBDIR}
install -m 0755 tclConfig.sh ${STAGING_BINDIR}
+ 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() {
@@ -33,4 +42,3 @@ do_install() {
}
FILES_${PN} += "${libdir}/tcl8.4"
-
diff --git a/packages/tcltk/tk_8.4.11.bb b/packages/tcltk/tk_8.4.11.bb
index db44a33676..b76d6670f2 100644
--- a/packages/tcltk/tk_8.4.11.bb
+++ b/packages/tcltk/tk_8.4.11.bb
@@ -3,7 +3,7 @@ LICENSE = "tcl"
SECTION = "devel/tcltk"
HOMEPAGE = "http://tcl.sourceforge.net"
DEPENDS = "tcl x11"
-PR = "r0"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \
file://disable-xim.patch;patch=1;pnum=0"
@@ -23,6 +23,16 @@ do_stage() {
oe_libinstall -a libtkstub8.4 ${STAGING_LIBDIR}
oe_libinstall -so libtk8.4 ${STAGING_LIBDIR}
install -m 0755 tkConfig.sh ${STAGING_BINDIR}
+ cd ..
+ #for dir in compat generic unix
+ #do
+ # install -d ${STAGING_INCDIR}/tk${PV}/$dir
+ #install -m 0644 $dir/*.h ${STAGING_INCDIR}/tk${PV}/$dir/
+ #done
+ install -m 0644 generic/tk.h ${STAGING_INCDIR}
+ install -m 0644 generic/tkDecls.h ${STAGING_INCDIR}
+ install -m 0644 generic/tkPlatDecls.h ${STAGING_INCDIR}
+
}
do_install() {