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

Re: [Pkg-octave-devel] questions on packaging an octave toolbox



* Jordi Gutiérrez Hermoso <jordigh@octave.org> [2012-07-11 13:23]:

> On 11 July 2012 13:07, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> > On Wed, Jul 11 2012, Sébastien Villemot <sebastien.villemot@ens.fr> wrote:
> >> Maybe are you looking for this section of the Octave reference manual:
> >>
> >>  http://www.gnu.org/software/octave/doc/interpreter/Packages.html#Packages
> >
> > Hi, Sébastien.  This documentation is unfortunately not for Debian
> > packaging, and I'm trying to build a Debian package.  Can you point me
> > to a reference for Debian packaging?  Are helper scripts available if
> > the toolbox is already packaged in the form that you refer to?
> 
> Yeah, if you already have a package in the OF format, it's almost
> trivial to create a Debian package from it. Look at the packaging for,
> say, octave-signal:
> 
>     http://anonscm.debian.org/gitweb/?p=pkg-octave/octave-signal.git;a=summary
> 
> Most of the heavy work is done by the octave-pkg-dev package, which
> makes debian/rules almost trivial:
> 
>     http://anonscm.debian.org/gitweb/?p=pkg-octave/octave-signal.git;a=blob;f=debian/rules;h=cc1bd1b064e0483e3a3d3c966cf05ab3c7a0ff41;hb=d92c8f02339fc71c4c44078d3518854eb647aa70

In the octave-pkg-dev package there is even a script called
make-octave-forge-debpkg that automatically generates the debian/* files
when launched inside the unpacked directory of an OF package.

Rafael



Reply to: