This is a simile, which is a way of comparing two or more things which are not normally similar. In this case 'people like this don't deserve more respect than the respect we would give to a man made of straw or a lump of dirt' in other words these people (or this type of person) deserve little or no respect.