In this paper, we study discontinuous Sturm-Liouville problems with the eigenvalue parameter linearly contained in boundary conditions, and the coefficients are recovered by (i) Weyl function and (ii) spectral data. Further eigenparameter appears in both of the boundary conditions.