Skip to contentSkip to conversation

check: new package

PATCH Superseded gustavo.zacarias at free-electrons.com 2 participants 4 messages Sep 19, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 check: new package

From: Gustavo Zacarias <[email protected]>

---
 package/Config.in        |  1 +
 package/check/Config.in  |  6 ++++++
 package/check/check.hash |  3 +++
 package/check/check.mk   | 20 ++++++++++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 package/check/Config.in
 create mode 100644 package/check/check.hash
 create mode 100644 package/check/check.mk
package/Config.in +1 -0
index edd4f30..8df3cc8 100644
@@ -111,6 +111,7 @@ menu "Development tools"
 	source "package/binutils/Config.in"
 	source "package/bsdiff/Config.in"
 	source "package/bustle/Config.in"
+	source "package/check/Config.in"
 	source "package/cmake/Config.in"
 	source "package/cppunit/Config.in"
 	source "package/cvs/Config.in"
package/check/Config.in new file +6 -0
new file mode 100644
index 0000000..04682e1
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_CHECK
+	bool "check"
+	help
+	  Check is a unit testing framework for C.
+
+	  http://check.sourceforge.net/
package/check/check.hash new file +3 -0
new file mode 100644
index 0000000..0c3a924
@@ -0,0 +1,3 @@
+# From http://sourceforge.net/projects/check/files/check/0.10.0/
+md5	53c5e5c77d090e103a17f3ed7fd7d8b8	check-0.10.0.tar.gz
+sha1	35d3a53446aea7b21a770faedb358d0fc7cba76d	check-0.10.0.tar.gz
package/check/check.mk new file +20 -0
new file mode 100644
index 0000000..92dd033
@@ -0,0 +1,20 @@
+################################################################################
+#
+# check
+#
+################################################################################
+
+CHECK_VERSION = 0.10.0
+CHECK_SITE = http://downloads.sourceforge.net/project/check/check/$(CHECK_VERSION)
+CHECK_INSTALL_STAGING = YES
+CHECK_DEPENDENCIES = host-pkgconf
+CHECK_LICENSE = LGPLv2.1+
+CHECK_LICENSE_FILES = COPYING.LESSER
+
+# Having checkmk in the target makes no sense
+define CHECK_REMOVE_CHECKMK
+	rm -f $(TARGET_DIR)/usr/bin/checkmk
+endef
+CHECK_POST_INSTALL_TARGET_HOOKS += CHECK_REMOVE_CHECKMK
+
+$(eval $(autotools-package))
Signature · 1 line
2.4.6
#1 lore raw

PATCH v2 1/1 check: new package

Hello,

Quoted 3 lines · gustavo.zacarias at free-electrons.com

From: Gustavo Zacarias <[email protected]>

What are the changes compared to v1 ?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH v2 1/1 check: new package

In reply to gustavo.zacarias at free-electrons.com

Dear gustavo.zacarias at free-electrons.com,

Quoted 12 lines · gustavo.zacarias at free-electrons.com

From: Gustavo Zacarias <[email protected]>

---
 package/Config.in        |  1 +
 package/check/Config.in  |  6 ++++++
 package/check/check.hash |  3 +++
 package/check/check.mk   | 20 ++++++++++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 package/check/Config.in
 create mode 100644 package/check/check.hash
 create mode 100644 package/check/check.mk

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com