View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#5
Using Stskeeps example, it looks like I need to make a directory that has all of the folders, and then another folder named "debian" with the control files...

So I did this:
Code:
mkdir mypackage
cd mypackage
dpkg-deb -X /other/place/mypackage.deb .
dpkg-deb -e /other/place/mypackage.deb debian
So now I have a directory, mypackage, with my root directory tree, and a debian directory with all my control files.

Now what do I do about the "Makefile" that I see in the Stskeeps example? Do I need it? What should it contain?

EDIT: "If you don't mind doing it in Debian.." Hee hee, of course I don't!

Code:
/mypackage/
   debian/
      control
      postinst
      postrm
      preinst
      prerm
   etc/
   home/
   lib/
   sbin/
   usr/
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-10-08 at 18:06. Reason: directory structure