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

Re: Make a package from source?



"Robert L. Harris" <Robert.L.Harris@rdlg.net> writes:

>   Ok, Is there a good doc of how to make a debian package from source?  I
> am trying to custom compile iptables and would like it to install as if
> it were a .deb.  Digging around debian.org, I didn't find anything.

From scratch?  http://www.debian.org/doc/maint-guide/

Or, if you mean from the existing source package, it's usually as simple
as:

apt-get source some-package
apt-get build-dep some-package
# hack the source, etc., and increment the changelog
dpkg-buildpackage -us -uc -rfakeroot
dpkg -i ../*.deb

-- 
Curse my natural showmanship!

Attachment: pgpiecX1P8FoK.pgp
Description: PGP signature


Reply to: