In case of Long term capital on listed shares without being subject to STT, with indexation and without indexation simply means inflating the purchase cost in the following way:
Cost of purchase x CII in the year of sale / CII in the year of purchase
On the above apply 10 % for capital gains without indexation and 20% for capital gains with indexation. Take whichever is beneficial to the assessee.