M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
DESCRIPTION = "Reference Webserver"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/${LICENSE};md5=3775480a712fc46a69647678acb234cb"
PR = "r2"
SRC_URI = "file://${WORKSPACE}/webserver"
inherit autotools
S = "${WORKDIR}/webserver"
EXTRA_OEMAKE_append = " CROSS=${HOST_PREFIX}"
INITSCRIPT_NAME = "webserver"
INITSCRIPT_PARAMS = "start 98 5 . stop 15 0 1 6 ."
inherit update-rc.d
do_install() {
install -m 0755 ${S}/webserver -D ${D}/bin/webserver
install -m 0755 ${S}/start_webserver -D ${D}${sysconfdir}/init.d/webserver
install -m 0644 ${S}/default_config.conf -D ${D}${sysconfdir}/webserver.conf
}