From 52d910b4f940b1179874846f73b46f67fc8ee0d6 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Thu, 26 Oct 2017 13:56:12 -0700 Subject: cunit: move to recipes-test Signed-off-by: Armin Kuster --- meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb | 19 ------------ .../cunit/files/fixup-install-docdir.patch | 36 ---------------------- meta-oe/recipes-test/cunit/cunit_2.1-3.bb | 19 ++++++++++++ .../cunit/files/fixup-install-docdir.patch | 36 ++++++++++++++++++++++ 4 files changed, 55 insertions(+), 55 deletions(-) delete mode 100644 meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb delete mode 100644 meta-oe/recipes-devtools/cunit/files/fixup-install-docdir.patch create mode 100644 meta-oe/recipes-test/cunit/cunit_2.1-3.bb create mode 100644 meta-oe/recipes-test/cunit/files/fixup-install-docdir.patch diff --git a/meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb b/meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb deleted file mode 100644 index c9d87e36d0..0000000000 --- a/meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "CUnit is a C framework for unit testing. Test output supports comandline and GUI results reporting" -HOMEPAGE = "http://cunit.sourceforge.net" -LICENSE = "LGPL-2.0" -SECTION = "libs" -LIC_FILES_CHKSUM = "file://COPYING;md5=7734aa853b85d6f935466f081490ddbb" - -S = "${WORKDIR}/CUnit-${PV}" - -SRC_URI = "${SOURCEFORGE_MIRROR}/project/cunit/CUnit/${PV}/CUnit-${PV}.tar.bz2 \ - file://fixup-install-docdir.patch" -SRC_URI[md5sum] = "b5f1a9f6093869c070c6e4a9450cc10c" -SRC_URI[sha256sum] = "f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214" - -inherit autotools-brokensep remove-libtool - -EXTRA_OECONF = "--enable-memtrace --enable-automated --enable-basic --enable-console" - -FILES_${PN}-dev += "${datadir}/CUnit" -FILES_${PN}-doc += "${docdir}" diff --git a/meta-oe/recipes-devtools/cunit/files/fixup-install-docdir.patch b/meta-oe/recipes-devtools/cunit/files/fixup-install-docdir.patch deleted file mode 100644 index c328227318..0000000000 --- a/meta-oe/recipes-devtools/cunit/files/fixup-install-docdir.patch +++ /dev/null @@ -1,36 +0,0 @@ -From: "Mike Holmes" -Date: Thu, 30 October 2014 16:21:03 -0500 -Subject: [PATCH] fixup-install-docdir - -The default configuration macros for CUnit install the documentation and -header files in locations not consistent with the OE filesystem layout. -So here we specify new locations which are consistent with OE filesystems. - -Upstream-Status: Inappropriate - configuration for OE build environment - -Signed-off-by: Mike Holmes -Signed-off-by: Gary S. Robertson ---- - -diff -uNr a/doc/headers/Makefile.am b/doc/headers/Makefile.am ---- a/doc/headers/Makefile.am 2014-10-30 22:06:29.704574162 +0100 -+++ b/doc/headers/Makefile.am 2014-10-30 22:07:43.578524791 +0100 -@@ -1,6 +1,6 @@ - ## Process this file with automake to produce Makefile.in - --dochdrdir = $(prefix)/doc/@PACKAGE@/headers -+dochdrdir = $(docdir)/headers - - INCLUDE_FILES = \ - Automated.h \ -diff -uNr a/doc/Makefile.am b/doc/Makefile.am ---- a/doc/Makefile.am 2014-10-30 22:06:29.704574162 +0100 -+++ b/doc/Makefile.am 2014-10-30 22:07:01.461412166 +0100 -@@ -1,7 +1,5 @@ - ## Process this file with automake to produce Makefile.in - --docdir = $(prefix)/doc/@PACKAGE@ -- - doc_DATA = \ - CUnit_doc.css \ - error_handling.html \ diff --git a/meta-oe/recipes-test/cunit/cunit_2.1-3.bb b/meta-oe/recipes-test/cunit/cunit_2.1-3.bb new file mode 100644 index 0000000000..c9d87e36d0 --- /dev/null +++ b/meta-oe/recipes-test/cunit/cunit_2.1-3.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "CUnit is a C framework for unit testing. Test output supports comandline and GUI results reporting" +HOMEPAGE = "http://cunit.sourceforge.net" +LICENSE = "LGPL-2.0" +SECTION = "libs" +LIC_FILES_CHKSUM = "file://COPYING;md5=7734aa853b85d6f935466f081490ddbb" + +S = "${WORKDIR}/CUnit-${PV}" + +SRC_URI = "${SOURCEFORGE_MIRROR}/project/cunit/CUnit/${PV}/CUnit-${PV}.tar.bz2 \ + file://fixup-install-docdir.patch" +SRC_URI[md5sum] = "b5f1a9f6093869c070c6e4a9450cc10c" +SRC_URI[sha256sum] = "f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214" + +inherit autotools-brokensep remove-libtool + +EXTRA_OECONF = "--enable-memtrace --enable-automated --enable-basic --enable-console" + +FILES_${PN}-dev += "${datadir}/CUnit" +FILES_${PN}-doc += "${docdir}" diff --git a/meta-oe/recipes-test/cunit/files/fixup-install-docdir.patch b/meta-oe/recipes-test/cunit/files/fixup-install-docdir.patch new file mode 100644 index 0000000000..c328227318 --- /dev/null +++ b/meta-oe/recipes-test/cunit/files/fixup-install-docdir.patch @@ -0,0 +1,36 @@ +From: "Mike Holmes" +Date: Thu, 30 October 2014 16:21:03 -0500 +Subject: [PATCH] fixup-install-docdir + +The default configuration macros for CUnit install the documentation and +header files in locations not consistent with the OE filesystem layout. +So here we specify new locations which are consistent with OE filesystems. + +Upstream-Status: Inappropriate - configuration for OE build environment + +Signed-off-by: Mike Holmes +Signed-off-by: Gary S. Robertson +--- + +diff -uNr a/doc/headers/Makefile.am b/doc/headers/Makefile.am +--- a/doc/headers/Makefile.am 2014-10-30 22:06:29.704574162 +0100 ++++ b/doc/headers/Makefile.am 2014-10-30 22:07:43.578524791 +0100 +@@ -1,6 +1,6 @@ + ## Process this file with automake to produce Makefile.in + +-dochdrdir = $(prefix)/doc/@PACKAGE@/headers ++dochdrdir = $(docdir)/headers + + INCLUDE_FILES = \ + Automated.h \ +diff -uNr a/doc/Makefile.am b/doc/Makefile.am +--- a/doc/Makefile.am 2014-10-30 22:06:29.704574162 +0100 ++++ b/doc/Makefile.am 2014-10-30 22:07:01.461412166 +0100 +@@ -1,7 +1,5 @@ + ## Process this file with automake to produce Makefile.in + +-docdir = $(prefix)/doc/@PACKAGE@ +- + doc_DATA = \ + CUnit_doc.css \ + error_handling.html \ -- cgit 1.2.3-korg