tcllib: new package
PATCH v3 1/1 tcllib: new package
As dicussed on IRC, here follows another update:
- Set TCLLIB_LICENSE to "tcllib license"
DESCRIPTION.txt says "Rights: BSD" without specifying the BSD clause
- remove "tcl" from the list of dependencies, since "tcllib" can be selected only if tcl has been selected
PATCH 1/1 tcllib: new package
--- package/Config.in | 5 +++++ package/tcllib/Config.in | 11 +++++++++++ package/tcllib/tcllib.mk | 13 +++++++++++++ 3 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 package/tcllib/Config.in create mode 100644 package/tcllib/tcllib.mk
package/Config.in +5 -0
@@ -313,6 +313,11 @@ endmenu endif source "package/ruby/Config.in" source "package/tcl/Config.in" +if BR2_PACKAGE_TCL +menu "tcl libraries/modules" +source "package/tcllib/Config.in" +endmenu +endif endmenu menu "Libraries"
package/tcllib/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_TCLLIB + bool "tcllib" + help + Tcllib is a collection of utility modules for Tcl. These + modules provide a wide variety of functionality, from + implementations of standard data structures to + implementations of common networking protocols. The intent + is to collect commonly used function into a single library, + which users can rely on to be available and stable + + http://tcl.activestate.com/software/tcllib/
package/tcllib/tcllib.mk new file +13 -0
@@ -0,0 +1,13 @@ +############################################################# +# +# tcllib +# +############################################################# +TCLLIB_VERSION = 1.13 +TCLLIB_SOURCE = tcllib-$(TCLLIB_VERSION).tar.bz2 +TCLLIB_SITE = http://downloads.sourceforge.net/project/tcllib/tcllib/$(TCLLIB_VERSION) +TCLLIB_LICENSE = tcllib license +TCLLIB_LICENSE_FILES = license.terms +TCLLIB_DEPENDENCIES = host-tcl + +$(eval $(autotools-package))
Signature · 1 line
1.7.2.5
PATCH 1/1 tcllib: new package
Davide, All,
On Thursday 06 December 2012 Davide Viti wrote:
[--SNIP--]
Quoted 7 lines
package/tcllib/tcllib.mk new file +1
-0@@ -0,0 +1,13 @@ +#############################################################
package/tcllib/tcllib.mk line 11
Quoted 10 lines
package/tcllib/tcllib.mk new file +10
-0+# +# tcllib +# +############################################################# +TCLLIB_VERSION = 1.13 +TCLLIB_SOURCE = tcllib-$(TCLLIB_VERSION).tar.bz2 +TCLLIB_SITE = http://downloads.sourceforge.net/project/tcllib/tcllib/$(TCLLIB_VERSION) +TCLLIB_LICENSE = tcllib license +TCLLIB_LICENSE_FILES = license.terms +TCLLIB_DEPENDENCIES = host-tcl
On my machine, tcllib uses /usr/bin/tclsh8.4 instead of our own, newly-built host-tcl:
Quoted 1 line
Quoted 1 line
Quoted 1 line
tcllib 1.13 Installing to target
PATH="/home/ymorin/dev/buildroot/O.tcl/host/bin:/home/ymorin/dev/buildroot/O.tcl/host/usr/bin:/home/ymorin/dev/buildroot/O.tcl/host/usr/sbin/:/home/ymorin/bin:/opt/zbar/bin:/opt/stgit/bin:/opt/qemu/bin:/opt/pkg++/bin:/opt/hg/bin:/opt/firefox/bin:/opt/bencode/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PERLLIB="/home/ymorin/dev/buildroot/O.tcl/host/usr/lib/perl" /usr/bin/make -j24 DESTDIR=/home/ymorin/dev/buildroot/O.tcl/target install -C /home/ymorin/dev/buildroot/O.tcl/build/tcllib-1.13/
/usr/bin/tclsh8.4 `echo ./installer.tcl` \
-no-examples -no-html \
-pkg-path /home/ymorin/dev/buildroot/O.tcl/target/usr/lib/tcllib1.13 \
-app-path /home/ymorin/dev/buildroot/O.tcl/target/usr/bin \
-nroff-path /home/ymorin/dev/buildroot/O.tcl/target/usr/man/mann \
-no-wait -no-guiWe really want tcllib to use our newly-built host-tcl's tclsh, in case tcllib is not compatible with the host tclsh.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 tcllib: new package
In reply to Davide VitiOn 06/12/12 23:46, Davide Viti wrote:
[snip]
Quoted 6 lines
package/tcllib/tcllib.mk new file +0
-0
package/tcllib/tcllib.mk line 9
Quoted 9 lines
package/tcllib/tcllib.mk new file +9
-0@@ -0,0 +1,13 @@ +############################################################# +# +# tcllib +# +############################################################# +TCLLIB_VERSION = 1.13 +TCLLIB_SOURCE = tcllib-$(TCLLIB_VERSION).tar.bz2 +TCLLIB_SITE =http://downloads.sourceforge.net/project/tcllib/tcllib/$(TCLLIB_VERSION) +TCLLIB_LICENSE = tcllib license
Since it's the same as the tcl license, I'd call it "tcl license".
Regards,
Arnout
Quoted 4 lines
package/tcllib/tcllib.mk new file +4
-0+TCLLIB_LICENSE_FILES = license.terms +TCLLIB_DEPENDENCIES = host-tcl + +$(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F