views:

168

answers:

1

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 apt-get the software, but

  1. How do I make it so that the package knows to look for dependencies like tomcat, sun-java6-bin, and ant?

  2. How do I write an installer script to place the files and folders in the right place?

+2  A: 

There is a great tutorial at http://www.debian.org/doc/maint-guide/

Bo Tian
I'm using it right now but do you know if ubuntu is in any way different, or are all debian packages compatible with ubuntu?
Sam
Sam