how do you create a debian package?

pitupepito2000

Golden Member
Aug 2, 2002
1,181
0
0
I have the source for a program, and I know that I could ./configure && make && make install. But I want to create a debian package from source. Does anybody know how to do this or could provide links.

Thanks for the help,
pitupepito
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Looks like some hard work to just install a package... probably is nice though for trying to make a package that would work on most any other computer running that version of debian.


If you want a package that's not included in the normal debian apt-get repositories you can look thru apt-get.org's listing of unofficial repositories

If you need to compile a package from source you can also look into using "apt-get source" command to get and help you make a custom packages based on standard ones, the proccess is described in debian's apt-get manual.

I know it's not what you asked for, but it may be usefull down the road non the less. :)
 

pitupepito2000

Golden Member
Aug 2, 2002
1,181
0
0
I know and if I ever have a lot of time I could even become a debian maintainter or something like that :)

thanks
 

sciencewhiz

Diamond Member
Jun 30, 2000
5,885
8
81
It's not really that hard. You need one (the control) file, and a fake file system that has all the files that you need installed in the proper places.

Now, if you want to package something that will be accepted into debian, it is a lot more work.
 

sciencewhiz

Diamond Member
Jun 30, 2000
5,885
8
81
When I made my first (and only, so far) debian package, I used both the debian guide (linked by BBWF) and the IBM article linked by cleverhandle.