From patchwork Tue Apr 9 18:27:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 235156 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 C0EA72C00AD for ; Wed, 10 Apr 2013 04:27:29 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A538AA0173; Tue, 9 Apr 2013 18:27:28 +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 IZvLDg-tZYkt; Tue, 9 Apr 2013 18:27:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E66E3A01A0; Tue, 9 Apr 2013 18:27:24 +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 A96CA8F74B for ; Tue, 9 Apr 2013 18:27:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 259D68D313 for ; Tue, 9 Apr 2013 18:27:23 +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 20DcC3FDmlOI for ; Tue, 9 Apr 2013 18:27:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 794BD8D2F3 for ; Tue, 9 Apr 2013 18:27:21 +0000 (UTC) Received: from asgard (host48.186-125-224.telecom.net.ar [186.125.224.48]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.6/8.14.6) with ESMTP id r39IRFW9025319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 9 Apr 2013 18:27:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1365532039; bh=mb5hkaZaijl+7VTIaGg+FB3Y0zzkgv8dhmYdDXsz7bU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=CJ1sBD7wq3HkFibffXzDjBplGxOAm3Kdsb+q8krielBAxTrrf+Q3qKADi215Kfevs c0H7weD9ZJbs8+AkYoSfKVT/FQeyN90Nf0mRK6Pg3N0YhO4eDK9yJdiKM3PNYxppHx 1mLzafP8/ZBmZhsjklPAX7bYHo9gchecYor6lpr8= Received: by asgard (sSMTP sendmail emulation); Tue, 09 Apr 2013 15:27:14 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Tue, 9 Apr 2013 15:27:06 -0300 Message-Id: <1365532027-13639-2-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1365532027-13639-1-git-send-email-gustavo@zacarias.com.ar> References: <1365532027-13639-1-git-send-email-gustavo@zacarias.com.ar> X-Virus-Scanned: clamav-milter 0.97.7 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH 2/3] swig: 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: Gustavo Zacarias --- package/Config.in | 1 + package/swig/Config.in | 11 +++++++++++ package/swig/swig.mk | 16 ++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 package/swig/Config.in create mode 100644 package/swig/swig.mk diff --git a/package/Config.in b/package/Config.in index 2e7dc67..3c05794 100644 --- a/package/Config.in +++ b/package/Config.in @@ -89,6 +89,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/sed/Config.in" endif source "package/sstrip/Config.in" +source "package/swig/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/tar/Config.in" endif diff --git a/package/swig/Config.in b/package/swig/Config.in new file mode 100644 index 0000000..19d49f4 --- /dev/null +++ b/package/swig/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_SWIG + bool "swig" + depends on BR2_INSTALL_LIBSTDCPP + help + SWIG is a software development tool that connects programs written + in C and C++ with a variety of high-level programming languages. + + http://www.swig.org/ + +comment "swig requires C++ support in toolchain" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/swig/swig.mk b/package/swig/swig.mk new file mode 100644 index 0000000..fae4642 --- /dev/null +++ b/package/swig/swig.mk @@ -0,0 +1,16 @@ +############################################################# +# +# swig +# +############################################################# + +SWIG_VERSION = 2.0.9 +SWIG_SITE = http://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION) +SWIG_DEPENDENCIES = host-bison +SWIG_CONF_OPT = --without-pcre --disable-ccache +HOST_SWIG_CONF_OPT = --without-pcre --disable-ccache +SWIG_LICENSE = GPLv3+ BSD-2c BSD-3c +SWIG_LICENSE_FILES = LICENSE LICENSE-GPL LICENSE-UNIVERSITIES + +$(eval $(autotools-package)) +$(eval $(host-autotools-package))