Is there a specify platform-specific depends packages in recipe.rb for different platforms? I'd like to build some packages for both Ubuntu and CentOS, but obviously package naming schemes are different for some things.
Something along the lines of an or would be useful:
depends 'libsomething-devel' or 'libsomething20-devel'
...but I'm unaware how stupid such a proposition is in Ruby land.
Is there a specify platform-specific
depends
packages inrecipe.rb
for different platforms? I'd like to build some packages for both Ubuntu and CentOS, but obviously package naming schemes are different for some things.Something along the lines of an
or
would be useful:...but I'm unaware how stupid such a proposition is in Ruby land.