diff --git a/recipes-test/cppunit/cppunit_1.13.2.bb b/recipes-test/cppunit/cppunit_1.13.2.bb new file mode 100644 index 0000000..65b08b0 --- /dev/null +++ b/recipes-test/cppunit/cppunit_1.13.2.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "CppUnit is the C++ port of the famous JUnit framework for unit testing. Test output is in XML for automatic testing and GUI based for supervised tests. " +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/cppunit" +LICENSE = "LGPL-2.1" +SECTION = "libs" + +LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" +SRC_URI = " \ + http://dev-www.libreoffice.org/src/cppunit-${PV}.tar.gz \ + file://0001-doc-Makefile.am-do-not-preserve-file-flags-when-copy.patch \ +" +SRC_URI[md5sum] = "d1c6bdd5a76c66d2c38331e2d287bc01" +SRC_URI[sha256sum] = "3f47d246e3346f2ba4d7c9e882db3ad9ebd3fcbd2e8b732f946e0e3eeb9f429f" + +inherit autotools diff --git a/recipes-test/cppunit/files/0001-doc-Makefile.am-do-not-preserve-file-flags-when-copy.patch b/recipes-test/cppunit/files/0001-doc-Makefile.am-do-not-preserve-file-flags-when-copy.patch new file mode 100644 index 0000000..6a20c12 --- /dev/null +++ b/recipes-test/cppunit/files/0001-doc-Makefile.am-do-not-preserve-file-flags-when-copy.patch @@ -0,0 +1,31 @@ +From 9d7ce869607d123cd9837890d71f940c5ced3393 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 29 Feb 2016 07:58:20 +0100 +Subject: [PATCH] doc/Makefile.am: do not preserve file flags when copying +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [cross specific] + +Signed-off-by: Andreas Müller +--- + doc/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/Makefile.am b/doc/Makefile.am +index 8815476..3237499 100644 +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -22,7 +22,7 @@ htmldir += $(pkgdatadir)/html + html_DATA += $(static_pages) html/index.html + + install-data-hook: +- cp -pR html/* $(DESTDIR)$(htmldir) ++ cp -R html/* $(DESTDIR)$(htmldir) + + # Automake's "distcheck" is sensitive to having files left over + # after "make uninstall", so we have to clean up the install hook. +-- +2.5.0 +