SUMMARY = "Autotest framework" DESCRIPTION = "Autotest - fully automated testing under linux." HOMEPAGE = "http://autotest.github.io" SECTION = "console/tests" LICENSE = "GPLv2 & BSD & LGPLv2+ & MIT" SRC_URI = "https://github.com/autotest/autotest/archive/${PV}.tar.gz" FILES_${PN} += "/opt /etc/profile.d/autotest.sh" do_install() { install -d ${D}/opt/${PN} cp -r ${B}/* ${D}/opt/${PN} mkdir -p ${D}/etc/profile.d/ echo "export AUTOTEST_PATH=/opt/${PN}" > ${D}/etc/profile.d/autotest.sh }