Connect LDR in series with a resistor, look at datasheet for resistance range of the LDR and pick something in the middle for the fixed resistor. Then connect one end of LDR to 5V, the center connection to the analogue input and the resistor to ground.
What you have is a potential divider, the voltage at the input will vary dependant on lighting levels.
What LDR do you have.
There are also light to voltage devices, that are similar to IR receivers, 3 wires.
http://uk.farnell.com/1182349/optoelectronics/product.us0?sku=TAOS-TSL260R-LF