diff options
Diffstat (limited to 'recipes-core/multitech')
-rw-r--r-- | recipes-core/multitech/commissioning_1.0.1.bb (renamed from recipes-core/multitech/commissioning_1.0.0.bb) | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/recipes-core/multitech/commissioning_1.0.0.bb b/recipes-core/multitech/commissioning_1.0.1.bb index 22369dc..cbe82d6 100644 --- a/recipes-core/multitech/commissioning_1.0.0.bb +++ b/recipes-core/multitech/commissioning_1.0.1.bb @@ -3,13 +3,15 @@ inherit update-rc.d LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=593c81e8a2bd8b4c4e310d8792372b13" -PACKAGE_ARCH = "all" +PACKAGE_ARCH = "${MACHINE_ARCH}" -RDEPENDS_${PN} += "lighttpd lighttpd-module-fastcgi lighttpd-module-redirect bash" +DEPENDS = "fcgi jsoncpp shadow" +RDEPENDS_${PN} += "jsoncpp lighttpd lighttpd-module-fastcgi lighttpd-module-openssl lighttpd-module-redirect bash" RDEPENDS_${PN}-php-fpm += "php-fpm ${PN}" PACKAGES =+ "${PN}-php-fpm" + INITSCRIPT_PACKAGES = "${PN} ${PN}-php-fpm" -INITSCRIPT_NAME_${PN} = "commission" +INITSCRIPT_NAME_${PN} = "commission " INITSCRIPT_PARAMS_${PN} = "start 9 2 3 4 5 ." INITSCRIPT_NAME_${PN}-php-fpm = "commission-php-fpm" INITSCRIPT_PARAMS_${PN}-php-fpm = "start 9 2 3 4 5 ." @@ -20,14 +22,21 @@ SRCREV = "${PV}" FILES_${PN}-php-fpm = "/etc/init.d/commission-php-fpm" FILES_${PN} += "/www/" -SRC_URI = "git://git@${MTS_INTERNAL_GIT}/mirrors/commissioning.git;protocol=ssh" +SRC_URI = "git://git@gitlab.multitech.net/mirrors/commissioning.git;tag=1.0.1;protocol=ssh" S = "${WORKDIR}/git" +do_compile() { + oe_runmake all +} do_install() { + cp -a ${S}/${sysconfdir}/ ${D}/ cp -a ${S}/www/ ${D}/ cp -a ${S}/${prefix} ${D}/ chmod 755 ${D}/etc/init.d/* chmod 755 ${D}/${libexecdir}/commission/* chown -R root:root ${D}/ + + oe_runmake install DESTDIR=${D} + chmod 755 ${D}/usr/bin/commissioning.fcgi } |