Cut the eggplant lengthwise and season with turmeric powder, salt and pepper. Heat oil in frying pan and cook the eggplant until soft. Drain and set aside.
Prepare the blended ingredients and grind until fine. Heat a little oil in pan and saute these ingredients until fragrant. Add the tamarind juice, sugar, salt and pepper. Stir, let simmer for about 5 minutes and adjust the seasoning.
Place the cooked eggplant on a dish and pour sambal sauce over it. Garnish with fried shallots.