SUMMARY = "vrpmdv-setup-page recipe"
DESCRIPTION = "Recipe to add vrpmdv-setup-page to it's location."
LICENSE = "CLOSED"

FILESEXTRAPATHS:prepend := "files:"

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}
    cp -r ${S}/* ${D}/${DESTINATION}
}


RDEPENDS_${PN} += " perl"

