I'm no PRO, but I'll give it a shot!
Create a folder on your home called
PACKAGENAME.
Inside, you're going to have 2 folders:
DEBIAN and
usr.
On
usr, you recreate the files and folders you want your file system to have after install.
Meaning, if you want to have an application in /usr/share/myprogram
you would create a folder named
share in
usr and then another named
myprogram in
share. Something like this:
/home/you/PACKAGENAME
|
|--- DEBIAN
|--- usr
|
|--- share
|
|--- myprogram
That's it for the data files. On to the DEBIAN folder.
The DEBIAN folder is used to provide package information.
Inside, it will only have a single textfile named
control
Here is a template
control file for you to work on:
Code:
Package: myprogram
Priority: optional
Section: games
Installed-Size: 91.3
Maintainer: L0tU5
Architecture: i386
Version: 0:0.5
Depends: libgtk2.0-0, python-gtk2
Description: A super program.
After all that, you're ready to build the package!
Fire up a terminal and issue the following command:
Code:
dpkg-deb -b PACKAGENAME
So, there you go, I hope I was clear =)
I think it's slightly handcrafted and there are probably more automatic ways, but this is the only one I know
Notes: Don't forget to change PACKAGENAME and myprogram to names of your choosing! About the menu entries, you'll have to create the .desktop files you want and place them in /usr/share/applications. Check that folder for some examples (open them with gedit!)
Bookmarks