The invention provides compounds and pharmaceutical compositions thereof, which are useful as protein kinase inhibitors, and methods for using such compounds to treat, ameliorate or prevent a condition associated with abnormal or deregulated kinase activity. In some embodiments, the invention provides methods for using such compounds to treat, ameliorate or prevent diseases or disorders that involve abnormal activation of Alk, Abl, Aurora-A, B-Raf, C-Raf, Bcr-Abl, BRK, Blk, Bmx, BTK, C-Kit, C-Raf, C-Src, EphB1, EphB2, EphB4, FGFR1, FGFR2, FGFR3, FLT1, Fms, Flt3, Fyn, FRK3, JAK2, KDR, Lck, Lyn, PDGFRα, PDGFR&bgr;, PKCα, p38, Src, SIK, Syk, Tie2 and TrkB kinases.