FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI = "file://ArtifactRollback_Enter_00;subdir=${PN}-${PV} \
           file://Download_Enter_00;subdir=${PN}-${PV} \
           file://LICENSE;subdir=${PN}-${PV} \
           file://ArtifactCommit_Enter_00;subdir=${PN}-${PV} \
           file://Sync_Enter_00;subdir=${PN}-${PV} \
          "

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"

inherit mender-state-scripts

do_compile() {
    cp ArtifactRollback_Enter_00 ${MENDER_STATE_SCRIPTS_DIR}/
    cp Download_Enter_00 ${MENDER_STATE_SCRIPTS_DIR}/
    cp ArtifactCommit_Enter_00 ${MENDER_STATE_SCRIPTS_DIR}/
    cp Sync_Enter_00 ${MENDER_STATE_SCRIPTS_DIR}/
}

RDEPENDS_${PN}_append = " netcat "

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI = "file://ArtifactRollback_Enter_00;subdir=${BPN}-${PV} \
           file://Download_Enter_00;subdir=${BPN}-${PV} \
           file://LICENSE;subdir=${BPN}-${PV} \
           file://ArtifactCommit_Enter_00;subdir=${BPN}-${PV} \
           file://Sync_Enter_00;subdir=${BPN}-${PV} \
          "

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"

inherit mender-state-scripts

do_compile() {
    cp ArtifactRollback_Enter_00 ${MENDER_STATE_SCRIPTS_DIR}/
    cp Download_Enter_00 ${MENDER_STATE_SCRIPTS_DIR}/
    cp ArtifactCommit_Enter_00 ${MENDER_STATE_SCRIPTS_DIR}/
    cp Sync_Enter_00 ${MENDER_STATE_SCRIPTS_DIR}/
}

RDEPENDS_${PN}_append = " netcat "

Use BPN rather than PN in master branch.
Use BPN rather than PN in master branch.

Signed-off-by: Drew Moseley <478ab6677b1bea404266cbf056683e99e5c5f252@northern.tech>
