added my Recipes
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
SUMMARY = "vrpmdv-web recipe"
|
||||
DESCRIPTION = "Recipe to add vrpmdv-setup-page to it's location."
|
||||
LICENSE = "CLOSED"
|
||||
|
||||
# inherit allarch perlnative cmake pkgconfig
|
||||
inherit perlnative pkgconfig cmake
|
||||
|
||||
DEPENDS += "perl"
|
||||
DEPENDS += "boost"
|
||||
|
||||
|
||||
SRC_URI += " \
|
||||
file://rt_service/CMakeLists.txt \
|
||||
file://rt_service/rt_service.cpp \
|
||||
"
|
||||
|
||||
SRCREV="7f842be454d08a0d2be40b55000821bcf7d43a42"
|
||||
SRC_URI+="git://gitea.malehr.de/markus.lehr/vrpmdv-web.git;protocol=https;branch=master;user=makus.lehr:gQsZ2Qht346yQG"
|
||||
|
||||
S = "${WORKDIR}/rt_service"
|
||||
B = "${WORKDIR}/rt_service/build"
|
||||
|
||||
|
||||
|
||||
DESTINATION = "/var/www/vrpmdv-web.local"
|
||||
|
||||
FILES:${PN} += "${DESTINATION}"
|
||||
|
||||
# do_configure(){
|
||||
# set(CMAKE_C_COMPILER_WORKS 1)
|
||||
# }
|
||||
|
||||
# do_compile() {
|
||||
#
|
||||
# }
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${DESTINATION}
|
||||
install -d ${D}${DESTINATION}/extensions
|
||||
install -d ${D}${DESTINATION}/extensions/rt_service
|
||||
|
||||
install -d ${D}${DESTINATION}/build
|
||||
install -d ${D}${DESTINATION}/build/assets
|
||||
install -m 0644 ${WORKDIR}/git/vrpmdvserver/*.py ${D}/${DESTINATION}
|
||||
install -m 0644 ${WORKDIR}/git/vrpmdvserver/extensions/rt_service/* ${D}/${DESTINATION}/extensions/rt_service
|
||||
|
||||
install -m 0644 ${WORKDIR}/git/vrpmdvserver/webbuild/index.html ${D}/${DESTINATION}/build
|
||||
install -m 0644 ${WORKDIR}/git/vrpmdvserver/webbuild/favicon.ico ${D}/${DESTINATION}/build
|
||||
install -m 0644 ${WORKDIR}/git/vrpmdvserver/webbuild/assets/*.js ${D}/${DESTINATION}/build/assets
|
||||
}
|
||||
|
||||
# BBCLASSEXTEND =+ "native nativesdk"
|
||||
# BBCLASSEXTEND =+ "multilib:multilib_name"
|
||||
RDEPENDS:${PN} += " perl"
|
||||
RDEPENDS:${PN} += " boost-python"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user