In the same oil fry the garlic till it changes colour. Add the onion and saute for 2 minutes. Now add the capsicum, tomato paste, tomatoes, salt and pepper. Cover and cook on a medium flame till it turns soft and the moisture dries up. Pour this sauce over the eggplants.