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

Re: [Pkg-octave-devel] Filing ITPs for the octave-forge pkgs



On Thu, Feb 28, 2008 at 05:18:30PM +0100, Rafael Laboissiere wrote:
> * Thomas Weber <thomas.weber.mail@gmail.com> [2008-02-28 16:27]:
> 
> > So re-taring should do it?
> 
> Yes, this is what octave-pkg-ver does.
>  
> > Okay, I'm looking into it, but how do we apply patches to such a
> > package?
> 
> There are many packages in Debian that have a tarball inside the
> orig.tar.gz.  Unfortunately I cannot find an exemple right now (will try
> later this evening).
> 
> I guess that there are tools in Dbeian for coping with this problem (maybe
> quilt or even cdbs).

I tried to package gnudatalanguage a while ago, the orig.tar.gz contains
this:
gnudatalanguage-0.8.99+0.9pre6/gdl-0.9pre6.tar.gz

and this is the (working) rules file I used:

#!/usr/bin/make -f

DEB_TAR_SRCDIR := gdl-0.9pre6

DEB_AUTO_UPDATE_ACLOCAL  := 1.9
DEB_AUTO_UPDATE_AUTOMAKE := 1.9
DEB_AUTO_UPDATE_AUTOCONF := 2.59
DEB_AUTO_UPDATE_LIBTOOL  := pre

include /usr/share/cdbs/1/rules/tarball.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_CONFIGURE_EXTRA_FLAGS := --with-fftw=yes
DEB_DH_INSTALL_SOURCEDIR := $(DEB_SRCDIR)
DEB_INSTALL_DOCS_ALL += $(DEB_SRCDIR)/PYTHON.txt

# Remove usr/lib/libantlr.a
binary-post-install/gnudatalanguage::
        $(RM) -r debian/gnudatalanguage/usr/lib

clean::
        $(RM) *.cdbs-config_list


Christian



Reply to: