Heat the oil in a medium saucepan over a moderately high heat. Sauté the onion and garlic for 5 minutes or until softened. Stir in the tomato purée, pineapple juice, water, brown sugar, soy sauce, mustard, thyme and liquid smoke, if using. Reduce the heat to moderate, cover and simmer for 5 minutes.