Debianizing source from scratch isn't a simple process. I tried doing that a while back and found it to be really frustrating due to the lack of documentation that I could understand.
What I do--and I don't know if it will suit your purpose, but I suspect it will--is put the following debian source lines in my sources.listThen I doCode:deb-src http://http.us.debian.org/debian unstable main deb-src http://http.us.debian.org/debian unstable non-free deb-src http://http.us.debian.org/debian unstable contribNow, you can modify the source however you want. When you're satisfied, you need to change the version number, or the package won't behave right. Add an entry to debian/changelog. This is where the version number is set. The file format is extremely strict about indentation, spacing, etc. Unless you have a reason to do otherwise, your version number should be tacked to the end of the existing version string as a modifier string and your revision number. For example, I add mssever1, mssever2, etc.Code:sudo apt-get update && apt-get source whatever
Next, cd to the root directory of the source tree and typeIf it completes successfully, you'll have a new source package in the parent directory with the new version number. You can build it with pbuilder per the instructions in the original post.Code:debuild -S
Bookmarks