Patchwork tcllib: new package

login
register
mail settings
Submitter Davide Viti
Date Dec. 7, 2012, 12:16 a.m.
Message ID <1354839385-23108-2-git-send-email-zinosat@tiscali.it>
Download mbox | patch
Permalink /patch/204355/
State Accepted
Commit 7ffda3e241c4d57394d9f5eeb19e41a3546c0495
Headers show

Comments

Davide Viti - Dec. 7, 2012, 12:16 a.m.
Signed-off-by: Davide Viti <zinosat@tiscali.it>
---
 package/Config.in        |    5 +++++
 package/tcllib/Config.in |   11 +++++++++++
 package/tcllib/tcllib.mk |   14 ++++++++++++++
 3 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 package/tcllib/Config.in
 create mode 100644 package/tcllib/tcllib.mk
Yann E. MORIN - Dec. 7, 2012, 6:39 p.m.
Davide, All,

On Friday 07 December 2012 Davide Viti wrote:
> Signed-off-by: Davide Viti <zinosat@tiscali.it>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Thanks for staying with us through all these hops! :-)

> ---
>  package/Config.in        |    5 +++++
>  package/tcllib/Config.in |   11 +++++++++++
>  package/tcllib/tcllib.mk |   14 ++++++++++++++
>  3 files changed, 30 insertions(+), 0 deletions(-)
>  create mode 100644 package/tcllib/Config.in
>  create mode 100644 package/tcllib/tcllib.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index 74e439e..cad1221 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -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"
> diff --git a/package/tcllib/Config.in b/package/tcllib/Config.in
> new file mode 100644
> index 0000000..b0a4ad0
> --- /dev/null
> +++ b/package/tcllib/Config.in
> @@ -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/
> diff --git a/package/tcllib/tcllib.mk b/package/tcllib/tcllib.mk
> new file mode 100644
> index 0000000..09d617f
> --- /dev/null
> +++ b/package/tcllib/tcllib.mk
> @@ -0,0 +1,14 @@
> +#############################################################
> +#
> +# 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       = tcl license
> +TCLLIB_LICENSE_FILES = license.terms
> +TCLLIB_DEPENDENCIES  = host-tcl
> +TCLLIB_CONF_ENV      = ac_cv_path_tclsh="$(HOST_DIR)/usr/bin/tclsh8.4"
> +
> +$(eval $(autotools-package))
> -- 
> 1.7.2.5
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 
>
Peter Korsgaard - Dec. 10, 2012, 9:37 p.m.
>>>>> "Davide" == Davide Viti <zinosat@tiscali.it> writes:

 Davide> Signed-off-by: Davide Viti <zinosat@tiscali.it>

Please put the v4 in the topic of the patch itself in the future, as the
cover letter doesn't make it to patchwork (and put the changelog after
the --- line).

Committed, thanks.

Patch

diff --git a/package/Config.in b/package/Config.in
index 74e439e..cad1221 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/tcllib/Config.in b/package/tcllib/Config.in
new file mode 100644
index 0000000..b0a4ad0
--- /dev/null
+++ b/package/tcllib/Config.in
@@ -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/
diff --git a/package/tcllib/tcllib.mk b/package/tcllib/tcllib.mk
new file mode 100644
index 0000000..09d617f
--- /dev/null
+++ b/package/tcllib/tcllib.mk
@@ -0,0 +1,14 @@ 
+#############################################################
+#
+# 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       = tcl license
+TCLLIB_LICENSE_FILES = license.terms
+TCLLIB_DEPENDENCIES  = host-tcl
+TCLLIB_CONF_ENV      = ac_cv_path_tclsh="$(HOST_DIR)/usr/bin/tclsh8.4"
+
+$(eval $(autotools-package))