[Pkg-octave-devel] SUNDIALS 2.2.0 packaging

Rafael Laboissiere rafael at debian.org
Fri May 5 06:29:37 UTC 2006


* Andrey Romanenko <andrey at enginum.com> [2006-05-04 22:34]:

> On Thursday 04 May 2006 17:50, Rafael Laboissiere wrote:
> > I did exactly this, but it does not work for me.  The original, wrong
> > libtool script is still used.  Are you sure you did not do anything else?
> 
> Yeah, I am sure. It builds ok here... libtool 1.5.22-4

Thanks, I started anew and it work.  I think I was doing something wrong.

> I have not tried CDBS before, so I will have to read up on this first...

A minimal debian/rules to start with would look like this:

########################################################################
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

DEB_CONFIGURE_EXTRA_FLAGS := --enable-shared --disable-mpi --disable-examples
DEB_MAKE_INSTALL_TARGET := install prefix=$(DEB_DESTDIR)/usr

clean::
	rm -rf `find . -name .libs`
########################################################################

You should adjust the debain/*.install files in order to have this working.
Also, it is better to use a debian/libsundials-serail-doc.docs instead of
debian/libsundials-serail-doc.install like this:

########################################################################
*/*/*.pdf
########################################################################

I quickly tried the above, but then I run into my old problem of having
the original ibtool script being recreated and config/ltmain.sh ignored.

Anyway, the above could be a starting point for you.

-- 
Rafael



More information about the Pkg-octave-devel mailing list