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"

