Skip to contentSkip to conversation

jimtcl: new package

PATCH New Ezequiel Garcia 2 participants 3 messages Jun 26, 2013 – Jun 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jimtcl: new package

From: Gustavo Zacarias <[email protected]>

Add new jimtcl package - a lightweight tclsh alternative. Useful for a lighter footprint usb_modeswitch installation. tclsh size is ~700kB for ARM compared to ~200kB for jimtcl.

---
 package/Config.in        |  1 +
 package/jimtcl/Config.in |  9 +++++++++
 package/jimtcl/jimtcl.mk | 49 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)
 create mode 100644 package/jimtcl/Config.in
 create mode 100644 package/jimtcl/jimtcl.mk
package/Config.in +1 -0
index 0eb6a9c..b62f90a 100644
@@ -307,6 +307,7 @@ source "package/erlang/Config.in"
 source "package/enscript/Config.in"
 source "package/haserl/Config.in"
 source "package/jamvm/Config.in"
+source "package/jimtcl/Config.in"
 source "package/lua/Config.in"
 source "package/luajit/Config.in"
 if BR2_PACKAGE_LUA || BR2_PACKAGE_LUAJIT
package/jimtcl/Config.in new file +9 -0
new file mode 100644
index 0000000..c7a12f2
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_JIMTCL
+	bool "jimtcl"
+	help
+	  Jim Tcl is a small footprint reimplementation of the Tcl scripting language.
+	  The core language engine is compatible with Tcl 8.5+, while implementing
+	  a significant subset of the Tcl 8.6 command set, plus additional features
+	  available only in Jim Tcl.
+
+	  http://jim.tcl.tk
package/jimtcl/jimtcl.mk new file +49 -0

49 lines not on this page · raw message

Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 1/1 jimtcl: new package

On 06/26/2013 10:09 AM, Ezequiel Garcia wrote:

A few fixes...

package/jimtcl/jimtcl.mk line 10

Quoted 4 lines
package/jimtcl/jimtcl.mk new file +4 -0
+JIMTCL_VERSION = 0.73
+JIMTCL_SITE = git://repo.or.cz/jimtcl.git
+JIMTCL_SITE_METHOD = git
+JIMTCL_INSTALL_STAGING = YES

Why not use the debian mirror as i did?
It's usually nicer to do http since some paranoid firewalling in some companies block git access.

package/jimtcl/jimtcl.mk line 24

Quoted 5 lines
package/jimtcl/jimtcl.mk new file +5 -0
+ifneq ($(BR2_PACKAGE_TCL),y)
+define JIMTCL_LINK_TCLSH
+	ln -sf jimsh $(TARGET_DIR)/usr/bin/tclsh
+endef
+endif

Positive logic preferred...
ifeq ($(BR2_PACKAGE_TCL),)
...
(my fault from my old submission though).

Care to resend a V2?
Thanks.

#2 lore raw

PATCH 1/1 jimtcl: new package

Quoted 2 lines · Gustavo Zacarias

Why not use the debian mirror as i did?

I thought using the jimtcl source of the sources was nicer...

Quoted 3 lines

It's usually nicer to do http since some paranoid firewalling in some companies block git access.

... but that's a good reason to not do it. I guess it's pretty much the same in terms of getting the latest stuff, since jimtcl is not going fast enough to care -0.73 is already 18-months old.

Quoted 11 lines

package/jimtcl/jimtcl.mk line 24

Quoted 5 lines
package/jimtcl/jimtcl.mk new file +5 -0
+ifneq ($(BR2_PACKAGE_TCL),y)
+define JIMTCL_LINK_TCLSH
+     ln -sf jimsh $(TARGET_DIR)/usr/bin/tclsh
+endef
+endif

Positive logic preferred...
ifeq ($(BR2_PACKAGE_TCL),)
...
(my fault from my old submission though).

Sure.

Quoted 1 line

Care to resend a V2?

Of course.

Signature · 1 line
    Ezequiel