DESCRIPTION = "My custom libraries"
LICENSE = "CLOSED"

SRC_URI = " \
		file://libperiphery_arm64.so \
		file://libflutter_pty.so \
		"

do_install() {
	install -d ${D}/${libdir}/flutter
	install -m 0644 ${WORKDIR}/libperiphery_arm64.so ${D}/${libdir}/flutter
	install -m 0644 ${WORKDIR}/libflutter_pty.so ${D}/${libdir}/flutter
	
	ln -sf ${libdir}/flutter/libperiphery_arm64.so ${D}${libdir}
	ln -sf ${libdir}/flutter/libflutter_pty.so ${D}${libdir}
}

FILES:${PN} += "${libdir}/flutter/*.so"