Hi, 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. Regards, David -----Original Message----- From: Mauro [mailto:[EMAIL PROTECTED] Sent: Tuesday, 25 December 2007 3:52 AM To: [EMAIL PROTECTED] Cc: debian-mentors@lists.debian.org Subject: Re: Making installation packages On Dec 24, 2007 8:50 AM, David Schulberg <[EMAIL PROTECTED]> wrote: > Hi, > > I have started working through an article about building packages on Debian > 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 > packages? > > Regards, > David Schulberg > Hello David, 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 install, ie: ~/package-0.1 ~/package-0.1/usr/bin/package ~/package-0.1/etc/package.rc ~/package-0.1/DEBIAN/control ~/package-0.1/DEBIAN/changelog ~/package-0.1/DEBIAN/copyright 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 [1], 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 :) [1] http://www.debian.org/doc/maint-guide/ -- ----BEGIN GEEK CODE BLOCK---- Version: 3.12 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---- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]