how to power a rock crusher on minecraft

how to power a rock crusher on minecraft