Where is the story that James (the 'brother') shared one-half of his inheritance with Jesus? The story is, I believe, apocryphal; but the "brothers of Jesus, sons of Joseph" rejected sharing their inheritance with Jesus and James, a follower of Jesus and leader of the early church (per Acts), stated that he (James) would share one-half of his inheritance with Jesus.
This story is preserved in Menologion of the Holy Tradition,


  When Joseph, after returning from Egypt, began to divide his land among his children born of his first wife,1 he also wished to give a portion to the Lord Jesus Who was born supernaturally and without corruption of the all-pure Virgin Mary, and Who was then but a little child. But three of Joseph's sons did not wish Christ to have a share, as He was born of another mother; only the fourth son, St. James, accepted Him as co-owner of his own portion, and hence was afterwards called the "Brother of God."
  
  St. Dimitri of Rostov, Menologion, trans. Isaac E. Lambertsen, The Lives of the Holy Apostles, Holy Apostles Convent: Buena Vista, CO, 1988, p. 223-4.





1 "Salome, daughter of Haggai, the son of Barachiah, a brother of Saint Zacharias, the father of the holy Prophet John the Forerunner of the Lord." St. Dimitri of Rostov, Menologion, 223.