libwiimote has been renamed to libcwiid, for naming confusion and packaging reasons (outlined here). In addition to the library name, most "wiimote_" prefixes have been changed to "cwiid_". The notable exception is wiimote_t has become cwiid_wiimote_t. Also, the (relatively new) info functions and structures have been renamed bdinfo. The attached script should do most of the work in converting existing programs from the old names to the new names. It is not perfect: you will still want to scan the code manually, but it will do most of the tedious work for you. It also creates backups of your original files appended with .bak extensions. Usage:

path-to/ [sourcefiles]