OpenCV Setup

Hello everyone. I was hoping someone could tell me how to install
OpenCV on the beagleboard? I currently have OE build environment on an
Ubuntu VM that I have used to setup DSPLink. I have installed "opkg
install opencv-samples". What else is needed?

Also what do I need to do to build the LPM package and get an
lpm_3530.ko module out of it? Thanks!