Don Raikes <don.rai...@oracle.com> writes: > I am just getting started with creating debian packages
Thank you for your efforts to improve Debian. > I have the tarball, and have extracted it into a directory on my lenny > system. I ran dh_make and have a generic debian directory. > > My problem comes in, that this package does not have a configure or > make process, you are supposed to be able to just uncompress it into > the webserver's webroot folder (/var/www for example). Based on experience with such applications, I think it's highly likely that this would be insufficient for the package to meet Debian's policy, or the specific Web applications policy. Your packaging work will need to ensure compliance with both. For the former, install and read the documents in the ‘debian-policy’ package. For the latter, read the (currently draft?) policy online at <URL:http://webapps-common.alioth.debian.org/draft/html/>. > What do i do with the rules file for such a situation? Determine what changes need to be made with the original source, in order to meet each of the ‘debian/rules’ targets as defined by Policy. Make use of the tools provided in the ‘debhelper’ and ‘debianutils’ packages to perform these changes; ask here for help if those tools don't appear to do quite what you need. > Is there an example of a package that doesn't require the > "compilation" of source to generate but just copies files to the > target location? You should choose an existing package in Debian that is a web application similar to the one you're working on, and ask here if you're unsure of anything (note that merely because it's already in Debian isn't a guarantee that a specific package is packaged in an optimal way). -- \ “Patience, n. A minor form of despair, disguised as a virtue.” | `\ —Ambrose Bierce, _The Devil's Dictionary_, 1906 | _o__) | Ben Finney -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org