From patchwork Wed Dec 5 21:05:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Davide Viti X-Patchwork-Id: 203961 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 110402C00F3 for ; Thu, 6 Dec 2012 08:06:54 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B2115A020E; Wed, 5 Dec 2012 21:06:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QEfPlur-A8ac; Wed, 5 Dec 2012 21:06:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 0024AA01FE; Wed, 5 Dec 2012 21:06:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 358F18F74A for ; Wed, 5 Dec 2012 21:06:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C67AC8BA4A for ; Wed, 5 Dec 2012 21:06:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ozJSskNalX-5 for ; Wed, 5 Dec 2012 21:06:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from cp-out9.libero.it (cp-out9.libero.it [151.1.108.66]) by whitealder.osuosl.org (Postfix) with ESMTP id 5A38E8B74E for ; Wed, 5 Dec 2012 21:06:47 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0C0204.50BFB767.00A8,ss=1,re=0.000,fgs=0 X-libjamoibt: 1555 Received: from slurp.zinosat.homelinux.com (151.16.19.59) by cp-out9.libero.it (8.5.133) id 507695D60AF80529; Wed, 5 Dec 2012 22:06:47 +0100 Received: from zino by slurp.zinosat.homelinux.com with local (Exim 4.72) (envelope-from ) id 1TgMAf-0001b4-Rp; Wed, 05 Dec 2012 22:06:21 +0100 From: Davide Viti To: buildroot@busybox.net Date: Wed, 5 Dec 2012 22:05:42 +0100 Message-Id: <1354741542-6079-2-git-send-email-zinosat@tiscali.it> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1354741542-6079-1-git-send-email-zinosat@tiscali.it> References: <1354741542-6079-1-git-send-email-zinosat@tiscali.it> Cc: Davide Viti , yann.morin.1998@free.fr Subject: [Buildroot] [PATCH] tcllib: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Davide Viti --- package/Config.in | 5 +++++ package/tcllib/Config.in | 12 ++++++++++++ package/tcllib/tcllib.mk | 23 +++++++++++++++++++++++ 3 files changed, 40 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 e759620..6d3f4fb 100644 --- a/package/Config.in +++ b/package/Config.in @@ -311,6 +311,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..cf65a9e --- /dev/null +++ b/package/tcllib/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_TCLLIB + bool "tcllib" + depends on BR2_PACKAGE_TCL + 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..2e85dc2 --- /dev/null +++ b/package/tcllib/tcllib.mk @@ -0,0 +1,23 @@ +############################################################# +# +# tcllib +# +############################################################# +TCLLIB_VERSION = 1.13 +TCLLIB_SOURCE = tcllib-$(TCLLIB_VERSION).tar.gz +TCLLIB_SITE = http://sourceforge.net/projects/tcllib/files/tcllib/$(TCLLIB_VERSION)/ +TCLLIB_LICENSE = BSD-2c +TCLLIB_LICENSE_FILES = license.terms +TCLLIB_DEPENDENCIES = tcl + +define TCLLIB_INSTALL_TARGET_CMDS + (cd $(@D); \ + tclsh installer.tcl \ + -no-examples -no-html -no-pkgs -no-wait \ + -no-gui -no-apps -no-nroff \ + -pkg-path $(TARGET_DIR)/usr/lib/tcl8.4 \ + ) +endef + +$(eval $(autotools-package)) +$(eval $(host-autotools-package))