uthash: update to v2.0.2

- the license has changed to BSD-1-Clause
- the main package is empty (as this only provides
  header files), so the -dev package must not depend
  on the main package

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
André Draszik
2018-01-12 12:29:41 +00:00
committed by Armin Kuster
parent d9f335cf31
commit adca65b816
2 changed files with 30 additions and 16 deletions
@@ -1,16 +0,0 @@
SUMMARY = "Hash table for C structures"
SECTION = "base"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=564f9c44927f6247dc810bf557e2b240"
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2"
SRC_URI[md5sum] = "1f14bbee7ee73ed0ceb3549f8cf378b4"
SRC_URI[sha256sum] = "956f5c99798349c413275fe4c9ff128d72e280655dadbe4365f8e9fbda91393f"
do_install () {
install -dm755 ${D}${includedir}
install -m 0644 ${S}/src/*.h ${D}${includedir}
}
BBCLASSEXTEND = "native"
@@ -0,0 +1,30 @@
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=5cc1f1e4c71f19f580458586756c02b4"
SRC_URI = "https://github.com/troydhanson/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
UPSTREAM_CHECK_URI = "https://github.com/troydhanson/${BPN}/releases"
SRC_URI[md5sum] = "d08632a58674274c9cd87e2930f5696a"
SRC_URI[sha256sum] = "34a31d51dd7a839819cecd6f46049b4ffe031d7f3147d9a042f5504fdb1348d1"
do_compile[noexec] = "1"
do_install () {
install -dm755 ${D}${includedir}
install -m0644 src/*.h ${D}${includedir}
}
# The main package is empty and non-existent, so -dev
# should not depend on it...
RDEPENDS_${PN}-dev = ""
BBCLASSEXTEND = "native"