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
}