From 63a96ba46f54a667ab8280b20f07d240498f9b52 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Tue, 9 Mar 2021 18:02:58 +0800 Subject: uthash: upgrade 2.2.0 -> 2.3.0 -License-Update: Copyright year updated to 2021. Signed-off-by: Zheng Ruoqin Signed-off-by: Khem Raj --- meta-oe/recipes-support/uthash/uthash_2.2.0.bb | 46 -------------------------- meta-oe/recipes-support/uthash/uthash_2.3.0.bb | 46 ++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 46 deletions(-) delete mode 100644 meta-oe/recipes-support/uthash/uthash_2.2.0.bb create mode 100644 meta-oe/recipes-support/uthash/uthash_2.3.0.bb diff --git a/meta-oe/recipes-support/uthash/uthash_2.2.0.bb b/meta-oe/recipes-support/uthash/uthash_2.2.0.bb deleted file mode 100644 index 4ec7bc2f5e..0000000000 --- a/meta-oe/recipes-support/uthash/uthash_2.2.0.bb +++ /dev/null @@ -1,46 +0,0 @@ -SUMMARY = "Hash table and linked list for C structures" -DESCRIPTION = " uthash-dev provides a hash table implementation using C preprocessor macros.\n\ - This package also includes:\n\ - * utlist.h provides linked list macros for C structures\n\ - * utarray.h implements dynamic arrays using macros\n\ - * utstring.h implements a basic dynamic string\n\ -" -HOMEPAGE = "https://troydhanson.github.io/uthash/" -SECTION = "base" -LICENSE = "BSD-1-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=6891c324eb59289db33bac74d4cbb0d4" -SRCREV = "66e2668795d0aaf4977523f828e548470a680c33" - -SRC_URI = "\ - git://github.com/troydhanson/${BPN}.git \ - file://run-ptest \ -" - -S = "${WORKDIR}/git" - -inherit ptest - -do_compile[noexec] = "1" - -do_compile_ptest() { - oe_runmake -C tests tests_only TEST_TARGET= -} - -do_install () { - install -dm755 ${D}${includedir} - install -m0644 src/*.h ${D}${includedir} -} - -do_install_ptest() { - install -dm755 ${D}${PTEST_PATH}/tests - install -m0755 tests/test*[0-9] ${D}${PTEST_PATH}/tests - install -m0644 tests/test*[0-9].ans ${D}${PTEST_PATH}/tests - install -m0644 tests/test*[0-9].dat ${D}${PTEST_PATH}/tests -} - -# The main package is empty and non-existent, so -dev -# should not depend on it... -RDEPENDS_${PN}-dev = "" -RDEPENDS_${PN}-ptest_remove = "${PN}" - -BBCLASSEXTEND = "native" diff --git a/meta-oe/recipes-support/uthash/uthash_2.3.0.bb b/meta-oe/recipes-support/uthash/uthash_2.3.0.bb new file mode 100644 index 0000000000..ca8a3c0bb1 --- /dev/null +++ b/meta-oe/recipes-support/uthash/uthash_2.3.0.bb @@ -0,0 +1,46 @@ +SUMMARY = "Hash table and linked list for C structures" +DESCRIPTION = " uthash-dev provides a hash table implementation using C preprocessor macros.\n\ + This package also includes:\n\ + * utlist.h provides linked list macros for C structures\n\ + * utarray.h implements dynamic arrays using macros\n\ + * utstring.h implements a basic dynamic string\n\ +" +HOMEPAGE = "https://troydhanson.github.io/uthash/" +SECTION = "base" +LICENSE = "BSD-1-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=736712b5904dd42f8678df7172bc5f2b" +SRCREV = "e493aa90a2833b4655927598f169c31cfcdf7861" + +SRC_URI = "\ + git://github.com/troydhanson/${BPN}.git \ + file://run-ptest \ +" + +S = "${WORKDIR}/git" + +inherit ptest + +do_compile[noexec] = "1" + +do_compile_ptest() { + oe_runmake -C tests tests_only TEST_TARGET= +} + +do_install () { + install -dm755 ${D}${includedir} + install -m0644 src/*.h ${D}${includedir} +} + +do_install_ptest() { + install -dm755 ${D}${PTEST_PATH}/tests + install -m0755 tests/test*[0-9] ${D}${PTEST_PATH}/tests + install -m0644 tests/test*[0-9].ans ${D}${PTEST_PATH}/tests + install -m0644 tests/test*[0-9].dat ${D}${PTEST_PATH}/tests +} + +# The main package is empty and non-existent, so -dev +# should not depend on it... +RDEPENDS_${PN}-dev = "" +RDEPENDS_${PN}-ptest_remove = "${PN}" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf