How to install chrome extension to firefox?

I have chrome extension published in chrome web store. now I want to install it in Firefox. can I install it directly or should I rebuild the extension with respect to firefox?