Creating a simple module/Adding an install-uninstall-update script file
From Joomla! Documentation
< J2.5:Creating a simple moduleRedirect page
The "J2.5" namespace is a namespace scheduled to be archived. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.