summaryrefslogtreecommitdiffstats
path: root/meta-agl-wireless-monitor/recipes-component/libcgic/libcgic_2.0.8.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-wireless-monitor/recipes-component/libcgic/libcgic_2.0.8.bb')
-rw-r--r--meta-agl-wireless-monitor/recipes-component/libcgic/libcgic_2.0.8.bb22
1 files changed, 22 insertions, 0 deletions
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
+}