diff -Nru libmatio-1.5.2/debian/changelog libmatio-1.5.2/debian/changelog --- libmatio-1.5.2/debian/changelog 2014-07-15 18:06:42.000000000 +0200 +++ libmatio-1.5.2/debian/changelog 2014-07-25 11:36:19.000000000 +0200 @@ -1,3 +1,10 @@ +libmatio (1.5.2-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Support hdf5 1.8.13 new packaging layout. + + -- Gilles Filippini Fri, 25 Jul 2014 11:36:19 +0200 + libmatio (1.5.2-2) unstable; urgency=medium * Use plain dh-autoreconf. (Closes: #753521) diff -Nru libmatio-1.5.2/debian/rules libmatio-1.5.2/debian/rules --- libmatio-1.5.2/debian/rules 2014-07-15 18:00:43.000000000 +0200 +++ libmatio-1.5.2/debian/rules 2014-07-31 10:18:55.000000000 +0200 @@ -4,8 +4,14 @@ include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/autoreconf.mk -DEB_CONFIGURE_NORMAL_ARGS += --enable-shared --with-hdf5 --enable-fortran --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) -DEB_MAKE_BUILD_TARGET := libmatio_la_LIBADD="-lz -lhdf5" +ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),) + WITH_HDF5:=--with-hdf5=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial +else + WITH_HDF5:=--with-hdf5 +endif + +DEB_CONFIGURE_NORMAL_ARGS += --enable-shared $(WITH_HDF5) --enable-fortran --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) +DEB_MAKE_BUILD_TARGET := libmatio_la_LIBADD="\$$(ZLIB_LIBS) \$$(HDF5_LIBS)" DEB_COMPRESS_EXCLUDE := .pdf install/libmatio-doc::