<commit_before>SUMMARY = "OverC support utilities"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe"

FILESEXTRAPATHS_prepend := "${THISDIR}:"

SRCREV = "${AUTOREV}"
SRC_URI = " \
    git://github.com/OverC/overc-installer.git;branch=master \
    file://source/cube-cmd \
    file://source/cube-ctl \
    file://source/cube-cfg \
    file://source/cube \
    file://source/cube-console \
    file://source/COPYING \
    file://source/cube-device \
    file://source/13-cube-device.rules \
    file://source/cube-device.sh \
    file://source/cube-device-functions \
"

S = "${WORKDIR}/git"

do_install() {
    # TODO: add overc-cctl here, instead of overc-installer package

    install -d ${D}${bindir}
    install -d ${D}${sbindir}

    # cubename comes from overc-installer.git
    install -m755 ${S}/sbin/cubename ${D}${bindir}

    # The rest are local utilities
    install -m755 ${WORKDIR}/source/cube-console ${D}${sbindir}
    install -m755 ${WORKDIR}/source/cube-ctl ${D}${sbindir}
    install -m755 ${WORKDIR}/source/cube-cmd ${D}${sbindir}
    install -m755 ${WORKDIR}/source/cube-cfg ${D}${sbindir}
    install -m755 ${WORKDIR}/source/cube ${D}${sbindir}

    # device manamage support
    install -m755 ${WORKDIR}/source/cube-device ${D}${sbindir}<commit_msg>cube -> c3: make the new c3 command available<commit_after>SUMMARY = "OverC support utilities"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe"

FILESEXTRAPATHS_prepend := "${THISDIR}:"

SRCREV = "${AUTOREV}"
SRC_URI = " \
    git://github.com/OverC/overc-installer.git;branch=master \
    file://source/cube-cmd \
    file://source/cube-ctl \
    file://source/cube-cfg \
    file://source/cube \
    file://source/cube-console \
    file://source/COPYING \
    file://source/cube-device \
    file://source/13-cube-device.rules \
    file://source/cube-device.sh \
    file://source/cube-device-functions \
"

S = "${WORKDIR}/git"

do_install() {
    # TODO: add overc-cctl here, instead of overc-installer package

    install -d ${D}${bindir}
    install -d ${D}${sbindir}

    # cubename comes from overc-installer.git
    install -m755 ${S}/sbin/cubename ${D}${bindir}

    # The rest are local utilities
    install -m755 ${WORKDIR}/source/cube-console ${D}${sbindir}
    install -m755 ${WORKDIR}/source/cube-ctl ${D}${sbindir}
    install -m755 ${WORKDIR}/source/cube-cmd ${D}${sbindir}
    install -m755 ${WORKDIR}/source/cube-cfg ${D}${sbindir}
    install -m755 ${WORKDIR}/source/cube ${D}${sbindir}

    # alias "cube" as "c3"
    (
	cd ${D}${sbindir}/
	ln -s cube c3
    )

    # device manamage support
    install -m755 ${WORKDIR}/source/cube-device ${D}${sbindir}
{'fraction_non_alphanumeric': 0.1754641427011285, 'fraction_numerical': 0.03421914816163087, 'mean_word_length': 3.2018348623853212, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6885721', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1039, 'n_words': 178}