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

Re: Creating two packages from one source

>>>>> "Peter" == Peter S Galbraith <GalbraithP@dfo-mpo.gc.ca> writes:

    Peter> Can a single rules files be used to make two binary
    Peter> packages from one orig.tar.gz.

Sure! Take a look at the debian/rules file from the 'gimp' package --
you can fetch the .orig.tar.gz, .dsc, and .diff.gz from
debian/dists/stable/main/source/gimp_1.0.0* on any Debian mirror.

You can then extract the source and apply the .diff.gz with the
following command:

dpkg-source -x gimp_1.0.0-1.dsc

Poke around in the gimp-1.0.0/debian/ directory, and read the rules
file in there. The gimp package creates a whole bunch of packages.


Brought to you by the letters V and C and the number 17.
"Step away from the car. This car is protected by Viper." -- TMBG
Debian GNU/Linux -- where do you want to go tomorrow? http://www.debian.org/
I'm on FurryMUCK as Che, and EFNet and YiffNet IRC as Che_Fox.

Reply to: