RE: Making installation packages
Ok I have the maintenance guide at hand. I have run dh-make. Where/How do I
define where my binary files should go when a user installs the package?
Should this be in the rules file? If so how do I define the globals used in
the rules file? Do I put my stuff into the install section of that file?
What would I do to specify that two particular files be put into specific
file locations? An example? How do I create new directories with my install?
Obviously I am a complete newbie at this and would appreciate some pointers
to the right direction.
From: Mauro [mailto:email@example.com]
Sent: Tuesday, 25 December 2007 3:52 AM
Subject: Re: Making installation packages
On Dec 24, 2007 8:50 AM, David Schulberg <firstname.lastname@example.org> wrote:
> I have started working through an article about building packages on
> Linux (http://www.linux.com/articles/60383).
> All I want to achieve it to drop a couple of precompiled files into two
> different directories and the article doesn't seem to cover this simple
> aspect (as far as I can see).
> Can anyone point me to a beginner's guide to creating basic installation
> David Schulberg
the *most* basic thing you can do is to create a directory and then
inside that directory create the paths for the files you want to
then you have to do is "dpkg -b /home/you/package-0.1" and that will
(probably) build a .deb files which will install the files you had
inside package-0.1. Of course this is the *WRONG* way to make a debian
package, not even ubuntu or any other debian-based distro would upload
that package to their servers ;)
my recomendation is: read Debian New Maintainers' Guide , has all
the info you might want (and more) plus, you will know how to make a
debian package in the right way so you can eventually contribute to
the universal os ;).
oh btw, "ignore" this line on the first page of the guide
-> "This revision of this document has been updated for the packages
in Debian 2.2 (`potato') and 3.0 (`woody')."
works perfectly on debian lenny aswell :)
----BEGIN GEEK CODE BLOCK----
GCM/O d->dpu$ s-:- a-->a+++$ C+++
LU P+ L++ E W+++ N !o K w O !M !V
PS+ PE Y+ PGP t 5- X R tv++ b- DI D++ G+ e
h!>h-- r>r+++ y+
----END GEEK CODE BLOCK----