#copy cli binary and lib copy_exec /usr/bin/mrpdi-cli /usr/bin/ cp /usr/lib/libmrpdi.so ${DESTDIR}/usr/lib/ #create plugin dir and copy current installed plugins mkdir -p ${DESTDIR}/usr/lib/mrpdi cp /usr/lib/mrpdi/*.so ${DESTDIR}/usr/lib/mrpdi/