summaryrefslogtreecommitdiff
path: root/packages/tcltk/tcl_8.4.19.bb
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-24 21:06:22 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-24 21:23:09 +0100
commit2d441c0f1b596a90dc4b8ecac238b435132de4c1 (patch)
tree7f6acf49447578e9ba5a50758977846b8661b4d1 /packages/tcltk/tcl_8.4.19.bb
parentcc6c7c1e02f587b97b779bf68a89cb695e06f4a7 (diff)
tcltk: 8.4.11 -> 8.4.19; try harder to get proper library packaging
Diffstat (limited to 'packages/tcltk/tcl_8.4.19.bb')
-rw-r--r--packages/tcltk/tcl_8.4.19.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/tcltk/tcl_8.4.19.bb b/packages/tcltk/tcl_8.4.19.bb
new file mode 100644
index 0000000000..440537b1de
--- /dev/null
+++ b/packages/tcltk/tcl_8.4.19.bb
@@ -0,0 +1,43 @@
+DESCRIPTION = "Tool Command Language"
+LICENSE = "tcl"
+SECTION = "devel/tcltk"
+HOMEPAGE = "http://tcl.sourceforge.net"
+PR = "r0"
+
+SRC_URI = "\
+ ${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
+ file://tcl-add-soname.patch;patch=1;pnum=2 \
+# file://fix-configure.patch;patch=1;pnum=2 \
+"
+S = "${WORKDIR}/tcl${PV}/unix"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-threads"
+
+do_configure() {
+ gnu-configize
+ oe_runconf
+}
+
+do_compile_prepend() {
+ echo > ../compat/fixstrtod.c
+}
+
+do_stage() {
+ autotools_stage_all
+ mv libtcl8.4.so libtcl8.4.so.0
+ oe_libinstall -so libtcl8.4 ${STAGING_LIBDIR}
+}
+
+do_install() {
+ autotools_do_install
+ mv libtcl8.4.so libtcl8.4.so.0
+ oe_libinstall -so libtcl8.4 ${D}${libdir}
+ ln -sf ./tclsh8.4 ${D}${bindir}/tclsh
+}
+
+PACKAGES =+ "${PN}-lib"
+FILES_${PN}-lib = "${libdir}/libtcl8.4.so.*"
+FILES_${PN} += "${libdir}/tcl8.4"
+FILES_${PN}-dev += "${libdir/tclConfig.sh"