20 lines
630 B
Plaintext
20 lines
630 B
Plaintext
# Copyright (C) 2022 Vincent BENOIT <vincent.benoit@benserv.fr>
|
|
# Release under the MIT license (see COPYING.MIT for the terms)
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
|
|
|
SRC_URI += " \
|
|
file://httpd.conf \
|
|
file://010-configurateur.conf \
|
|
"
|
|
|
|
FILES:${PN} += " \
|
|
${sysconfdir}/apache2/httpd.conf \
|
|
${sysconfdir}/apache2/sites-enabled/010-configurateur.conf \
|
|
"
|
|
|
|
do_install:append() {
|
|
install -m 0644 ${WORKDIR}/httpd.conf ${D}${sysconfdir}/apache2
|
|
install -d ${D}${sysconfdir}/apache2/sites-enabled
|
|
install -m 0644 ${WORKDIR}/010-configurateur.conf ${D}${sysconfdir}/apache2/sites-enabled
|
|
}
|