1st Versionwith nginx, gunicorn and flask
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
SUMMARY = "vrpmdv-setup-page recipe"
|
||||
DESCRIPTION = "Recipe to add vrpmdv-setup-page to it's location."
|
||||
LICENSE = "CLOSED"
|
||||
|
||||
inherit allarch perlnative
|
||||
|
||||
DEPENDS += " perl"
|
||||
|
||||
|
||||
SRC_URI += " \
|
||||
file://vrmpdvsetupapp.py \
|
||||
file://vrmpdvsetuppage.py \
|
||||
"
|
||||
|
||||
# SRC_URI += " \
|
||||
# git://gitea.malehr.de/markus.lehr/vrmpdv.git;protocol=https;branch=master; \
|
||||
# "
|
||||
|
||||
# SRCREV = "${AUTOREV}"
|
||||
|
||||
|
||||
#SRC_URI += " \
|
||||
# git://git@gitlab.sclabs.io:10122/vrpmdv/setup-page.git;protocol=ssh; \
|
||||
#"
|
||||
#SRCREV = "${AUTOREV}"
|
||||
|
||||
# S = "${WORKDIR}/git"
|
||||
|
||||
# S = "${WORKDIR}"
|
||||
|
||||
|
||||
DESTINATION = "/var/www/vrpmdv-setup.local"
|
||||
|
||||
FILES:${PN} += "${DESTINATION}"
|
||||
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${DESTINATION}
|
||||
install -m 0644 ${WORKDIR}/vrmpdvsetupapp.py ${D}/${DESTINATION}
|
||||
install -m 0644 ${WORKDIR}/vrmpdvsetuppage.py ${D}/${DESTINATION}
|
||||
}
|
||||
|
||||
|
||||
RDEPENDS_${PN} += " perl"
|
||||
|
||||
Reference in New Issue
Block a user