Closed manuelmeurer closed 11 years ago
Right. It's just ruby though so you can always create the object manually and hack it however you want:
installer = source 'http://magicbeansland.com/latest-1.1.1.tar.gz'
def installer.configure_commands
["cmake"]
end
I doubt it's QUITE that simple, but you get the idea? Really we should allow source to take blocks maybe... like:
source 'http://magicbeansland.com/latest-1.1.1.tar.gz' do
configure do
["cmake"]
end
end
Where just by specifying a configure block you'd be replacing the default behavior. Care to take a crack at a patch and tests? :)
Will do!
Better late than never! :smile:
Merge.d
I would like to install MySQL from source with Sprinkle. MySQL uses
cmake
instead ofconfigure
. Is it possible to change just theconfigure
instruction but still usemake
andmake install
to build and install? AFAICS usingcustom_install
overwrites all of these.