title: How do I create a deb package with basic dependencies?
body: <p>Hi so I am trying to create a deb package for a web application written in Java (it uses Apache Tomcat). My eventual goal is to start a repository that people can add to <code>apt-get</code> the software, but </p>
  
  <ol>
  <li><p>How do I make it so that the package knows to look for dependencies like tomcat, sun-java6-bin, and ant?</p></li>
  <li><p>How do I write an installer script to place the files and folders in the right place?</p></li>
  </ol>