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

Re: Basic debian package question



*- On 14 Jul, Jean Pierre LeJacq wrote about "Re: Basic debian package question"
> On Wed, 14 Jul 1999, Mark Glassberg wrote:
> 
>> The dosemu source packages have "orig" and "diff" in their names.  How do
>> these packages work together?
> 
> There are several files that work together to form an overall
> package.  The two you mentioned are used when building the Debian
> package from the original source.
> 

To clarify. The 'orig' is the prestine upstream source. The 'diff' is
the diff file(see the patch man page) that adds the Debian modifications
and control files to make the Debian package.  There is also a 'dsc'
file that contains the package name, version, maintainer etc.  If you
want to build the package locally on your machine then install the
dpkg-dev package and download the three files to a common directory and
issue the command,

dpkg-source -x <package>.dsc

This will create a directory for the package.  Then to build it cd into
that directory and issue the commands,(you will need to make sure you
have the appropriate development libraries and headers installed)

./debian/rules binary

You will end up with the Debian package built in the parent directory.

The latest apt has an option built in to do all this for you.  Search
the list archives for discussion on how to do this.

-- 
Brian 
---------------------------------------------------------------------
Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: