SUMMARY = "Wrap gnu screen into a multi session getty"
HOMEPAGE = "https://github.com/WindRiver-OpenSourceLabs/meta-overc"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"

PKG_NAME = "github.com/miekg/dns"
SRC_URI = "file://COPYING \
	file://screen-getty.c \
	file://screen-gettyrc \
	file://agetty-shell.c \
	file://Makefile \
	file://screen-getty@.service \
	"

S = "${WORKDIR}"

FILES_${PN} += "/lib/systemd"

do_install() {
	oe_runmake DEST=${D} install
	install -d ${D}/${systemd_unitdir}/system
	install -m 644 ${WORKDIR}/screen-getty@.service ${D}/${systemd_unitdir}/system
}


SUMMARY = "Wrap gnu screen into a multi session getty"
HOMEPAGE = "https://github.com/WindRiver-OpenSourceLabs/meta-overc"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"

PKG_NAME = "github.com/miekg/dns"
SRC_URI = "file://COPYING \
	file://screen-getty.c \
	file://screen-gettyrc \
	file://agetty-shell.c \
	file://Makefile \
	file://screen-getty@.service \
	"

S = "${WORKDIR}"

FILES_${PN} += "${systemd_unitdir}"

do_install() {
	oe_runmake DEST=${D} SBIN=${base_sbindir} install
	install -d ${D}/${systemd_unitdir}/system
	install -m 644 ${WORKDIR}/screen-getty@.service ${D}/${systemd_unitdir}/system
}


Make use of bitbake variables where appropriate.
screen-getty: Make use of bitbake variables where appropriate.

Signed-off-by: Amarnath Valluri <5a3316effc402a684e9cb7a2e1a469c9d7af1d37@intel.com>
Signed-off-by: Bruce Ashfield <284cc737d174a260eec2a2a6324a304f84b1ae0f@windriver.com>
