Create libcdr.rb

Reference: https://github.com/Homebrew/homebrew/pull/31162
Resubmitting PR instead of rebasing master (not sure how to do that in git yet so I'm using the github gui)
I'm not sure if the bottles work correctly. They most likely may need to be redone.
Leave out the bottle block, the bots will create it when this is pulled.