[maemo-developers] [maemo-developers] Building a binary package?

From: Adrian Neumaier adrian at firehand.org
Date: Mon Jul 10 15:38:00 EEST 2006
Kuisma Salonen schrieb:
> Now if you actually would make into your source package directory called
> 'debian' and put there proper 'rules' file there (please correct me if i
> am missing something (something that is NOT invoked by debian/rules)),
> you should have working source package. However at this point it might
> be easier to stick with debhelper and debian policy, so eventually this
> could be useful reading:
> 
> http://www.debian.org/doc/devel-manuals


debian/ should have: control, rules, changelog

rules: for the actual build rules and what to do
control: package description, package dependencies et al
changelog: revision of the package, package changelog, ...

rules without them is useless.

to make it easier there is dh_make available in debian (perhaps thats
available for maemo too). for example if you have a sourcedirectory
foobar-0.1.2 you can run dh_make in this directory and it will setup a
basic debian/ subdirectory with most of the files (some of them with the
extension .ex) and a foobar-0.1.2.orig.

Cheers
Adrian
-- 
GPG Key ID: 42C33D97 | Reg. User #255628 (http://counter.li.org)
Fingerprint: 239D 7006 3CF0 8951 9FDA CA63 EF5C C95A 42C3 3D97

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: OpenPGP digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20060710/b991ef74/attachment.pgp 
More information about the maemo-developers mailing list