From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../http-parser/http-parser_2.8.1.bb | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 external/meta-iot-cloud/recipes-support/http-parser/http-parser_2.8.1.bb (limited to 'external/meta-iot-cloud/recipes-support/http-parser/http-parser_2.8.1.bb') diff --git a/external/meta-iot-cloud/recipes-support/http-parser/http-parser_2.8.1.bb b/external/meta-iot-cloud/recipes-support/http-parser/http-parser_2.8.1.bb new file mode 100644 index 00000000..8fd2fba9 --- /dev/null +++ b/external/meta-iot-cloud/recipes-support/http-parser/http-parser_2.8.1.bb @@ -0,0 +1,30 @@ +SUMMARY = "Parser for HTTP messages written in C" +HOMEPAGE = "https://github.com/nodejs/http-parser" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=9bfa835d048c194ab30487af8d7b3778" + +SRC_URI = "git://github.com/nodejs/http-parser.git" +SRCREV = "54f55a2f02a823e5f5c87abe853bb76d1170718d" + +PR = "r0" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = "\ + 'CFLAGS=${CFLAGS} -Wno-implicit-fallthrough' \ +" + +do_configure[noexec] = "1" + +do_compile() { + oe_runmake library package +} + +do_install() { + oe_libinstall -C ${S} -so libhttp_parser ${D}${libdir} + + install -d ${D}${includedir} + install -m 0644 ${S}/*.h ${D}${includedir} +} + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg