From patchwork Thu Nov 26 05:39:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhishek Singh X-Patchwork-Id: 548929 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 54E2E1402DD for ; Thu, 26 Nov 2015 16:40:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 31FA2936A2; Thu, 26 Nov 2015 05:40:01 +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 CoChdivbuHjF; Thu, 26 Nov 2015 05:39:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 34B059367C; Thu, 26 Nov 2015 05:39:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 82AE31C0E66 for ; Thu, 26 Nov 2015 05:39:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 78D04329DE for ; Thu, 26 Nov 2015 05:39:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uHm-ViYoWkuw for ; Thu, 26 Nov 2015 05:39:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by silver.osuosl.org (Postfix) with ESMTP id 352AB329CA for ; Thu, 26 Nov 2015 05:39:57 +0000 (UTC) Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Websense Email Security Gateway with ESMTPS id 22FCA71B1637D for ; Thu, 26 Nov 2015 05:39:55 +0000 (GMT) Received: from PUMAIL01.pu.imgtec.org (192.168.91.250) by hhmail02.hh.imgtec.org (10.100.10.20) with Microsoft SMTP Server (TLS) id 14.3.235.1; Thu, 26 Nov 2015 05:39:55 +0000 Received: from pudesk288-linux.pu.imgtec.org (192.168.95.22) by PUMAIL01.pu.imgtec.org (192.168.91.250) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 26 Nov 2015 11:09:53 +0530 From: Abhishek Singh To: Date: Thu, 26 Nov 2015 11:09:49 +0530 Message-ID: <1448516389-6669-1-git-send-email-Abhishek.Singh@imgtec.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 X-Originating-IP: [192.168.95.22] Cc: Abhishek Singh Subject: [Buildroot] [PATCH 1/1] cxxtest: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Reviewed-by: Marcin Nowakowski Reviewed-by: Rahul Bedarkar Reviewed-by: Piotr Nakraszewicz Signed-off-by: Abhishek Singh --- package/Config.in | 1 + package/cxxtest/Config.in | 10 ++++++++++ package/cxxtest/cxxtest.hash | 2 ++ package/cxxtest/cxxtest.mk | 25 +++++++++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 package/cxxtest/Config.in create mode 100644 package/cxxtest/cxxtest.hash create mode 100644 package/cxxtest/cxxtest.mk diff --git a/package/Config.in b/package/Config.in index bdc3063..6e71d25 100644 --- a/package/Config.in +++ b/package/Config.in @@ -116,6 +116,7 @@ menu "Development tools" source "package/cmake/Config.in" source "package/cppunit/Config.in" source "package/cvs/Config.in" + source "package/cxxtest/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/diffutils/Config.in" source "package/dos2unix/Config.in" diff --git a/package/cxxtest/Config.in b/package/cxxtest/Config.in new file mode 100644 index 0000000..7512e4b --- /dev/null +++ b/package/cxxtest/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_CXXTEST + bool "cxxtest" + depends on BR2_INSTALL_LIBSTDCPP + help + CxxTest is a unit testing framework for C++ + + http://cxxtest.com/ + +comment "cxxtest needs toolchain with C++ support" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/cxxtest/cxxtest.hash b/package/cxxtest/cxxtest.hash new file mode 100644 index 0000000..f552e80 --- /dev/null +++ b/package/cxxtest/cxxtest.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8 cxxtest-4.4.tar.gz diff --git a/package/cxxtest/cxxtest.mk b/package/cxxtest/cxxtest.mk new file mode 100644 index 0000000..5089f92 --- /dev/null +++ b/package/cxxtest/cxxtest.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# cxxtest +# +################################################################################ + +CXXTEST_VERSION = 4.4 +CXXTEST_SOURCE = cxxtest-$(CXXTEST_VERSION).tar.gz +CXXTEST_SITE = http://sourceforge.net/projects/cxxtest/files/cxxtest/$(CXXTEST_VERSION) +CXXTEST_LICENSE = LGPLv3 +CXXTEST_LICENSE_FILES = COPYING +CXXTEST_INSTALL_STAGING = YES +CXXTEST_INSTALL_TARGET = NO +CXXTEST_DEPENDENCIES = host-cxxtest +HOST_CXXTEST_DEPENDENCIES = host-python +HOST_CXXTEST_SETUP_TYPE = setuptools +HOST_CXXTEST_SUBDIR = python + +define CXXTEST_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/include/cxxtest + cp $(@D)/cxxtest/* $(STAGING_DIR)/usr/include/cxxtest +endef + +$(eval $(generic-package)) +$(eval $(host-python-package))