The Entropy of Cantor--like measures