Re: Example package
-----BEGIN PGP SIGNED MESSAGE-----
Ian Bicking <email@example.com> 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
(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'...
Rob Tillotson N9MTB Internet: firstname.lastname@example.org
-----BEGIN PGP SIGNATURE-----
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface
-----END PGP SIGNATURE-----
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org