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

Re: Debian source package usage?



At Wed, 12 Jun 2002 15:46:55 -0400 (EDT),
Rob Ransbottom <rir@attbi.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-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


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: