added my Recipes
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
from vrmpdvsetuppage import application
|
||||
if __name__ == "__main__":
|
||||
application.run()
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
from flask import Flask
|
||||
application = Flask(__name__)
|
||||
@application.route("/")
|
||||
def hello():
|
||||
return "Welcome to VRMPDV Application Setup!"
|
||||
if __name__ == "__main__":
|
||||
application.run(host='0.0.0.0')
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
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}/vrmpdv*.py ${D}/${DESTINATION}
|
||||
}
|
||||
|
||||
|
||||
RDEPENDS_${PN} += " perl"
|
||||
|
||||
Reference in New Issue
Block a user