The right way is to add extra repositories (at least the maemo group) and let the installer automatically resolve all dependencies.