From 5f4f99dd916ac86e40b58decb2a0163067edce58 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sun, 25 Sep 2005 00:45:57 +0000 Subject: tcl/tk: install header files into $STAGING_DIR --- packages/tcltk/tcl_8.4.11.bb | 12 ++++++++++-- packages/tcltk/tk_8.4.11.bb | 12 +++++++++++- 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() { -- cgit v1.2.3