I found this solution
1) Decide on the name of your package. Standard debian notation is all lowercase in the following format:
Code: <project>_<major version>.<minor version>-<package revision>
2) For example, you could name your first package...
Code: mypackage_1.0-1
3) copy all all your program files to mypackage_1.0-1
4) create DEBIAN directory inside mypackage_1.0-1
5) create control file inside DEBIAN with below content (modify it as your package)
Package: mypackage
Version: 1.0-1
Section: base
Priority: optional
Architecture: i386
Depends: libsomethingorrather (>= 1.2.13), anotherDependency (>= 1.2.6)
Maintainer: Your Name <[email protected]>
Description: my Package
When you need some sunshine, just run this
small program!
(the space before each line in the description is important)
7) Now you just need to make the package:
Code: dpkg-deb --build mypackage_1.0-1