--- liblip-2.0.0.orig/debian/shlibs
+++ liblip-2.0.0/debian/shlibs
@@ -0,0 +1 @@
+liblip		2	liblip2 (>= 2.0)
--- liblip-2.0.0.orig/debian/rules
+++ liblip-2.0.0/debian/rules
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+# Copyright (C) 2004-2005 Anibal Monsalve Salazar <anibal@debian.org>
+# Copyright (c) 2005 Juan Esteban Monsalve Tobon <esteban@v7w.com>
+
+STRIP      = strip --strip-unneeded --remove-section=.comment --remove-section=.note
+
+build:
+	$(checkdir)
+	./configure --prefix=/usr --enable-shared
+	$(MAKE) install prefix=$(CURDIR)/shared
+	[ ! -f Makefile ] || $(MAKE) distclean
+	-rm -f config.log config.cache
+	./configure --prefix=/usr --enable-static
+	$(MAKE) install prefix=$(CURDIR)/static
+	touch build
+
+clean:
+	$(checkdir)
+	-rm -f build
+	[ ! -f Makefile ] || $(MAKE) distclean
+	-rm -f config.log config.cache
+	-rm -f `find . -name "*~"`
+	-rm -rf tnt shared static
+	-rm -rf debian/tmp debian/files* core debian/substvars
+	-rm -rf debian/liblip2 debian/liblip-dev
+
+binary-indep: checkroot build
+	$(checkdir)
+	-rm -rf debian/tmp
+
+binary-arch: checkroot build
+	$(checkdir)
+	-rm -rf debian/tmp
+	-rm -rf debian/liblip2 debian/liblip-dev
+	install -d debian/tmp/DEBIAN debian/liblip2/usr/share/doc/liblip2/examples
+	cd debian && install -d liblip2 liblip-dev
+	cd debian/liblip2    && install -d DEBIAN usr/share/doc usr/lib/lip
+	cd debian/liblip-dev && install -d DEBIAN usr/share/doc usr/lib/lip usr/include/lip
+
+	cd debian && install -m 644 shlibs liblip2/DEBIAN
+
+	cd shared/lib && $(STRIP) --strip-unneeded liblip.so.2.0.0
+	cd static/lib && strip --strip-debug liblip.a
+
+	mv shared/lib/liblip.so.* debian/liblip2/usr/lib/lip
+	mv shared/lib/liblip.so debian/liblip-dev/usr/lib/lip	
+	sed "s/^libdir=.*/libdir=\'\/usr\/lib\/lip\'/" shared/lib/liblip.la > debian/liblip-dev/usr/lib/lip/liblip.la
+	mv static/lib/liblip.a debian/liblip-dev/usr/lib/lip	
+	sed "s/^#include \"forest.h\"/#include <lip\/forest.h>/" static/include/interpol.h > debian/liblip-dev/usr/include/lip/interpol.h
+	sed "s/^#include \"memblock.h\"/#include <lip\/memblock.h>/" static/include/forest.h > debian/liblip-dev/usr/include/lip/forest.h
+	mv static/include/liblip.h debian/liblip-dev/usr/include/lip
+	mv static/include/memblock.h debian/liblip-dev/usr/include/lip
+	chmod +r debian/liblip-dev/usr/include/lip/*
+
+	cp -p debian/copyright debian/liblip2/usr/share/doc/liblip2
+	cp -p debian/changelog debian/liblip2/usr/share/doc/liblip2/changelog.Debian
+	cp -p docs/* debian/liblip2/usr/share/doc/liblip2/
+	cp -p examples/example* debian/liblip2/usr/share/doc/liblip2/examples
+	cp -p examples/makefile debian/liblip2/usr/share/doc/liblip2/examples
+	cd debian/liblip2/usr/share/doc/liblip2 && gzip -9 changelog.Debian examples/*
+
+	ln -s liblip2 debian/liblip-dev/usr/share/doc/liblip-dev
+
+	dpkg-shlibdeps debian/liblip2/usr/lib/lip/*
+	dpkg-gencontrol -isp -pliblip2 -Pdebian/liblip2
+	cd debian/liblip2 && md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
+	chown -R root.root debian/liblip2
+	chmod -x debian/liblip2/usr/lib/lip/*
+	chmod -R go=rX debian/liblip2
+	dpkg --build debian/liblip2 ..
+
+	dpkg-gencontrol -isp -pliblip-dev -Pdebian/liblip-dev
+	cd debian/liblip-dev && md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
+	chown -R root.root debian/liblip-dev
+	chmod -x debian/liblip-dev/usr/lib/lip/liblip.a
+	chmod -x debian/liblip-dev/usr/lib/lip/liblip.la
+	chmod -R go=rX debian/liblip-dev
+	dpkg --build debian/liblip-dev ..
+
+define checkdir
+	test -f debian/rules
+endef
+
+binary: binary-indep binary-arch
+
+checkroot:
+	$(checkdir)
+	test root = "`whoami`"
+
+.PHONY: binary binary-arch binary-indep clean checkroot
--- liblip-2.0.0.orig/debian/copyright
+++ liblip-2.0.0/debian/copyright
@@ -0,0 +1,32 @@
+This Debian source package, liblip,  is maintained by
+Juan Esteban Monsalve Tobon <esteban@v7w.com>
+
+The original source was downloded from:
+
+ http://www.deakin.edu.au/~gleb/lip.html
+
+Upstream author: Gleb Beliakov <gleb@deakin.edu.au>
+
+Upstream copyright notice:
+
+ liblip -- reliable interpolation of multivariate scattered data
+ Copyright (C) 2004 Gleb Beliakov
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software 
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+ See http://www.deakin.edu.au/~gleb/lip.html for latest updates.
+
+On Debian systems, the complete text of the GNU Lesser General Public
+License, version 2.1, can be found in /usr/share/common-licenses/LGPL-2.1.
--- liblip-2.0.0.orig/debian/control
+++ liblip-2.0.0/debian/control
@@ -0,0 +1,105 @@
+Source: liblip
+Section: math
+Priority: optional
+Maintainer: Juan Esteban Monsalve Tobon <esteban@v7w.com>
+Build-Depends: libtnt-dev (>= 1.2.5-3)
+Homepage: http://www.deakin.edu.au/~gleb/lip.html
+Standards-Version: 3.7.2
+
+Package: liblip2
+Section: libs
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts:
+Description: reliable interpolation of multivariate scattered data
+ Lip interpolates scattered multivariate data with a Lipschitz function.
+ .
+ Methods of interpolation of multivariate scattered data are scarce.
+ The programming library Lip implements a
+ new method by G. Beliakov, which relies on building reliable lower and
+ upper approximations of Lipschitz functions. If we assume that the
+ function that we want to interpolate is Lipschitz-continuous, we can
+ provide tight bounds on its values at any point, in the worse case
+ scenario. Thus we obtain the interpolant, which approximates the unknown
+ Lipschitz function f  best in the worst case scenario. This translates
+ into reliable learning of f, something that other methods cannot do (the
+ error of approximation of most other methods can be infinitely large,
+ depending on what f generated the data).
+ .
+ Lipschitz condition implies that the rate of change of the function is
+ bounded:
+ .
+ |f(x)-f(y)|<M||x-y||.
+ .
+ It is easily interpreted as the largest slope of the function f. f needs
+ not be differentiable.
+ .
+ The interpolant based on the Lipschitz properties of the function is
+ piecewise linear, it possesses many useful properties, and it is shown
+ that it is the best possible approximation to f in the worst case
+ scenario. The value of the interpolant depends on the data points in the
+ immediate neigbourhood of the point in question, and in this sense, the
+ method is similar to the natural neighbour interpolation.
+ .
+ There are two methods of construction and evaluation of the interpolant.
+ The explicit method processes all data points to find the neighbours of
+ the point in question. It does not require any preprocessing, but the
+ evaluation of the interpolant has linear complexity O(K) in terms of the
+ number of data.
+ .
+ "Fast" method requires substantial preprocessing in the case of more
+ than 3-4 variables, but then it provides O(log K) evaluation time, and
+ thus is suitable for very large data sets (K of order of 500000) and
+ modest dimension (n=1-4). For larger dimension, explicit method becomes
+ practically more efficient. The class library Lip implements both fast
+ and explicit methods.
+
+Package: liblip-dev
+Section: libdevel
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}, libtnt-dev, liblip2 (= ${binary:Version})
+Description: reliable interpolation of multivariate scattered data
+ Lip interpolates scattered multivariate data with a Lipschitz function.
+ .
+ Methods of interpolation of multivariate scattered data are scarce.
+ The programming library Lip implements a
+ new method by G. Beliakov, which relies on building reliable lower and
+ upper approximations of Lipschitz functions. If we assume that the
+ function that we want to interpolate is Lipschitz-continuous, we can
+ provide tight bounds on its values at any point, in the worse case
+ scenario. Thus we obtain the interpolant, which approximates the unknown
+ Lipschitz function f  best in the worst case scenario. This translates
+ into reliable learning of f, something that other methods cannot do (the
+ error of approximation of most other methods can be infinitely large,
+ depending on what f generated the data).
+ .
+ Lipschitz condition implies that the rate of change of the function is
+ bounded:
+ .
+ |f(x)-f(y)|<M||x-y||.
+ .
+ It is easily interpreted as the largest slope of the function f. f needs
+ not be differentiable.
+ .
+ The interpolant based on the Lipschitz properties of the function is
+ piecewise linear, it possesses many useful properties, and it is shown
+ that it is the best possible approximation to f in the worst case
+ scenario. The value of the interpolant depends on the data points in the
+ immediate neigbourhood of the point in question, and in this sense, the
+ method is similar to the natural neighbour interpolation.
+ .
+ There are two methods of construction and evaluation of the interpolant.
+ The explicit method processes all data points to find the neighbours of
+ the point in question. It does not require any preprocessing, but the
+ evaluation of the interpolant has linear complexity O(K) in terms of the
+ number of data.
+ .
+ "Fast" method requires substantial preprocessing in the case of more
+ than 3-4 variables, but then it provides O(log K) evaluation time, and
+ thus is suitable for very large data sets (K of order of 500000) and
+ modest dimension (n=1-4). For larger dimension, explicit method becomes
+ practically more efficient. The class library Lip implements both fast
+ and explicit methods.
+
--- liblip-2.0.0.orig/debian/changelog
+++ liblip-2.0.0/debian/changelog
@@ -0,0 +1,49 @@
+liblip (2.0.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules:
+    - Fix bashisms (Closes: #378597).
+    - Fix debian-rules-ignores-make-clean-error lintian warnings.
+  * debian/control:
+    - Move to new Homepage field.
+    - Use ${binary:Version} instead of deprecated ${Source-Version},
+      fix substvar-source-version-is-deprecated lintian warning.
+  * debian/shlibs:
+    - Move to liblip2, fix shlibs-declares-dependency-on-other-package
+      lintian warning.
+
+ -- Luca Falavigna <dktrkranz@ubuntu.com>  Tue, 15 Jan 2008 20:48:51 +0100
+
+liblip (2.0.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Juan Esteban Monsalve Tobon <esteban@v7w.com>  Sun, 16 Jul 2006 16:13:29 +1000
+
+liblip (1.2-3) unstable; urgency=low
+
+  * New maintainer.
+
+ -- Juan Esteban Monsalve Tobon <esteban@v7w.com>  Sun, 10 Apr 2005 12:58:01 +1000
+
+liblip (1.2-2) unstable; urgency=low
+
+  * Fixed "FTBFS with gcc-3.4: 'data' undeclared" (Closes: #280289).
+    Patch by Andreas Jochens <aj@andaco.de>.
+  * New maintainer's email address.
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Fri, 18 Feb 2005 16:51:20 +1100
+
+liblip (1.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org>  Thu, 26 Aug 2004 17:53:28 +1000
+
+liblip (1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #249394).
+
+ -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org>  Thu, 20 May 2004 05:46:32 +1000
+
+
