DETROIT (AP) A person familiar with the situation says the Detroit Pistons have agreed to a $19.5 million, two-year deal with shooting guard Jodie Meeks.

The person spoke Tuesday night to The Associated Press on condition of anonymity because free agents can't sign contracts until the league's moratorium ends July 10.

The 6-foot-4 Meeks averaged a career-high 15.7 points and scored a team-high 1,209 points last season for the Los Angeles Lakers. He has averaged 9.7 points over his five-year career.

Milwaukee drafted Meeks in the second round in 2009 and traded him during his rookie season to Philadelphia. The Lakers signed him as a free agent in 2012 and exercised a team option last year to keep him on the roster for a second season.