How to split a package into several smaller packages
You want to create multiple binaries packages from one source package. This page will be worked soon. While you wait, please examine the php-java-bridge /debian/* files, as this source package contains many tricks and hints leveraging debhelper scripts and avoiding pitfalls. Ideas collected from other package sources, discussion lists, Debian Policy, maintainers guide, man pages. Special attention to /debian/rules and subpackage_name.* files, like php-java-bridge-j2ee.install , php-java-bridge-j2ee.dirs and so on. Also, see the README.Debian file, containing many hints and instructions.
External useful links
[0] php-java-bridge source tree http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/debian
[1] Debian policy http://www.debian.org/doc/devel-manuals#policy
[2] Debian develpers reference http://www.debian.org/doc/devel-manuals#devref
[3] Debian new maintainers guide http://www.debian.org/doc/devel-manuals#maint-guide
[4] Debian developers manuals http://www.debian.org/doc/devel-manuals
[5] Create Debian Linux packages http://www-128.ibm.com/developerworks/linux/library/l-debpkg.html
[6] Debian Binary Package Building HOWTO http://www.tldp.org/HOWTO/Debian-Binary-Package-Building-HOWTO/
[7] How to backports packages to your version http://selinux.alioth.debian.org/sesarge/HOWTO-Backport.txt
[8] Debian Mentors site http://mentors.debian.net
[9] debian-mentors mailing list http://lists.debian.org/debian-mentors/
[10] Debian packaging tutorial http://debian-news.net/modules/news/article.php?storyid=1075
[11] How to package for Debian http://wiki.debian.org/HowToPackageForDebian
[12] Debian Packaging http://www.linuks.mine.nu/irc/debian-packaging/
[13] Collaborative Maintenance http://wiki.debian.org/CollaborativeMaintenance
[14] Debian for Developers Tutorial http://www.wiggy.net/presentations/2001/DebianWalkThrough/handouts/handouts.html
[15] The Debconf Programmer's Tutorial http://www.fifi.org/doc/debconf-doc/tutorial.html
[16] DEBCONF man page http://www.fifi.org/cgi-bin/man2html/usr/share/man/man8/debconf.8.gz
[17] DEBCONF-DEVEL man page http://www.fifi.org/cgi-bin/man2html/usr/share/man/man8/debconf-devel.8.gz
[18] DEBCONF.CONF man page http://www.fifi.org/cgi-bin/man2html/usr/share/man/man5/debconf.conf.5.gz