M7350/oe-core/meta-msm/recipes/webserver/webserver_git.bb

24 lines
652 B
BlitzBasic
Raw Normal View History

2024-09-09 08:52:07 +00:00
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
}