The invention provides compounds and pharmaceutical compositions thereof,which are useful as protein kinase inhibitors, and methods for using such compoundsto treat, ameliorate or prevent a condition associated with abnormal or deregulatedkinase activity. In some embodiments, the invention provides methods for usingsuch compounds to treat, ameliorate or prevent diseases or disorders that involveabnormal activation of AIk, AbI, Aurora- A, B-Raf, C- Raf, Bcr-Abl, BRK, BIk,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β, PKCα,p38, Src, SIK, Syk, Tie2 and TrkB kinases.