Re: Debian source package usage?
On Thu, 13 Jun 2002, Tatsuya Kinoshita wrote:
> At Wed, 12 Jun 2002 15:46:55 -0400 (EDT),
> Rob Ransbottom <email@example.com> wrote:
> > I am trying to build 'ls' from source.
> > Finding that ftp.gnu.org sources don't work, I grab the
> > fileutils*[dsc|orig|diff]* files from debian.
> > I find the /usr/doc/debian/source-unpack.txt file
> > and follow it.
> > Now, what do I do next? That is: When/what do
> > I do with a debian/rules file?
> I tell you how to build the local package:
> # apt-get install fakeroot
> # apt-get build-dep fileutils
apt 0.3.19 for i386 compiled on May 12 2000 21:17:27
says build-dep is invalid operation.
> $ apt-get source fileutils
> $ cd fileutils-4.1
> (Modify the source as you like.)
> $ dch -v 4.1-10+local.1
> $ debuild -rfakeroot -uc -us
> $ cd ..
> # dpkg -i fileutils_4.1-10+local.1_i386.deb
> (`#' is root's prompt. I suggest sudo or su.)
> Tatsuya Kinoshita
rob Live the dream.
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com