[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Example package



-----BEGIN PGP SIGNED MESSAGE-----

Ian Bicking <bickiia@earlham.edu> writes:
> I think it would all be clear if I just had a tar of a directory tree
> that was set up to make a package (like hello).  Is it possible to
> deconstruct hello.deb, or is there source somewhere...?

I'm a newbie at this too, but here's what I have learned:

The source should be in the distribution tree, probably someplace like
 ftp://ftp.debian.org/debian/dists/hamm/main/source/misc/
(I probably have some parts of that path wrong, it might be easier to
get it off the web pages :)  You need all three files, the
.orig.tar.gz, the .diff.gz, and the .dsc.  Put them all in a
directory, do 'dpkg-source -x <file.dsc>' to unpack them, and enjoy.

The "Developers Corner" on the website has a couple of documents which
talk about the basics of creating a package.  Hint: use deb-make or
debhelper (which is apparently the preferred thing to use now) to do
the hard work :) Using deb-make, it took me about five minutes to make
a basic binary package... deb-make, edit a couple of files, fix the
makefile to install stuff in the right place, su, and 'build'...

Good luck,
- --Rob

- -- 
Rob Tillotson  N9MTB			Internet: rob@io.com

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBNUO37nR+ngWruQ4VAQF2bgP/TIy7MEdN7pGdhn9tMSYF6onmp9CY6io5
TowNIF9XzV4a9nTr8gFJVBdu/D6ieD4+SGraaojjkdkaWv98I+/b3loDRhIh0VVg
7MuEdrLL0pz8IgInL9Fp+wQhyeU+cyf/RNPEut3kZG6aSzWhfrzSMZD/J7HY48G0
Kx/NgppTkbg=
=mXxe
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: