summaryrefslogtreecommitdiffstats
path: root/meta-agl-wireless-monitor/recipes-component/libcgic/libcgic_2.0.8.bb
blob: 7b470ef01a913a398395ebe578bd8fb89b0ce75b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}
= " \ ttf-bitstream-vera \ ttf-dejavu-sans \ ttf-dejavu-sans-mono \ ttf-dejavu-serif \ ttf-noto-emoji-color \ source-han-sans-cn-fonts \ source-han-sans-jp-fonts \ source-han-sans-tw-fonts \ source-han-sans-kr-fonts \ " RDEPENDS:${PN} += " \ udisks2 \ linux-firmware-ath9k \ linux-firmware-ralink \ can-utils \ cannelloni \ iproute2 \ ${LIN_DRIVERS} \ ${DEMO_PLATFORM_CONF} \ ${TTF_FONTS} \ ${@bb.utils.contains('DISTRO_FEATURES', 'webruntime', 'virtual/webruntime', '', d)} \ "