Next, you should install the package locally by running: pear
install <file> (file is the
tarball you just created). This is done to ensure that the package
definition file is not only valid but also contains valid
information. You should manually check that every file is installed
in the right place. If your package contains test scripts, which is
highly recommended, you should run them.
If anything fails at this stage, correct it and re-package and re-test.
When everything seems OK, proceed.