From d9670d5543f8a9444ab01d39ad8a95bc1aee3df3 Mon Sep 17 00:00:00 2001 From: Yan Date: Sun, 8 Oct 2023 08:31:16 +0800 Subject: agl-wireless-monitor: add libcgic cgic library is now added, test cgi deployed onto board. this library would play a build time dependency role later on. Bug-AGL: SPEC-4838 Signed-off-by: Yan Change-Id: I16d67e2bacabb12bd36f2c439eeee91ef786e7c5 --- .../recipes-component/libcgic/libcgic_2.0.8.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-agl-wireless-monitor/recipes-component/libcgic/libcgic_2.0.8.bb (limited to 'meta-agl-wireless-monitor/recipes-component/libcgic/libcgic_2.0.8.bb') diff --git a/meta-agl-wireless-monitor/recipes-component/libcgic/libcgic_2.0.8.bb b/meta-agl-wireless-monitor/recipes-component/libcgic/libcgic_2.0.8.bb new file mode 100644 index 00000000..7b470ef0 --- /dev/null +++ b/meta-agl-wireless-monitor/recipes-component/libcgic/libcgic_2.0.8.bb @@ -0,0 +1,22 @@ +SUMMARY = "CGIC library" +HOMEPAGE = "https://github.com/boutell/cgic" +DESCRIPTION = "An ANSI C library for CGI Programming." + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://license.txt;md5=1ef0cf0c9e6e61f326fd48746179cf38" + +SRCREV = "a3490b7612f194f029b6e7a7fc602ad962bc33e2" + +S = "${WORKDIR}/git" + +SRC_URI = "git://github.com/boutell/cgic.git;protocol=https;branch=master \ + file://0001-modify-makefile-for-cross-build.patch \ +" + +EXTRA_OEMAKE = "LDFLAGS='${LDFLAGS}'" + +do_install() { + install -d ${D}/usr/bin/cgi-bin + install -m 0755 ${S}/capture ${D}/usr/bin/cgi-bin + install -m 0755 ${S}/cgictest.cgi ${D}/usr/bin/cgi-bin +} -- cgit 1.2.3-korg