Mihalis I. Tsoukalos, Thu, Aug 21, 2003 at 10:57:34AM +0300:
> I have successfully downloaded the source for libpcap.
>
> What to do next in order to compile it the Debian way?
>
sudo apt-get build-dep libpcap
apt-get source libpcap --compile
In the best case, that will just work, and you'll have your new deb.
Otherwise, wipe that directory out and do the following:
apt-get source libpcap
cd {libpcap directory}
head debian/changelog # to find current version and revision
dch -v {incremented revision} # add comments for changes you've made
dpkg-buildpackage -rfakeroot -uc
That should work for you. Look at the debian/rules file in the
subdirectory of the source package - that's the Makefile for the deb.
Also read http://www.debian.org/doc/manuals/maint-guide/
g
Attachment:
pgp6csqu8ytsk.pgp
Description: PGP signature