r44674 - in /packages/rheolef/trunk/debian: control rules

saramito-guest at users.alioth.debian.org saramito-guest at users.alioth.debian.org
Fri Apr 6 16:37:44 UTC 2012


Author: saramito-guest
Date: Fri Apr  6 16:37:42 2012
New Revision: 44674

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44674
Log:
backportage squeeze and wheezy

Modified:
    packages/rheolef/trunk/debian/control
    packages/rheolef/trunk/debian/rules

Modified: packages/rheolef/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/control?rev=44674&op=diff
==============================================================================
--- packages/rheolef/trunk/debian/control (original)
+++ packages/rheolef/trunk/debian/control Fri Apr  6 16:37:42 2012
@@ -7,8 +7,11 @@
 Build-Depends: debhelper (>=7), chrpath, bsdmainutils,
  libboost-dev, libboost-iostreams-dev, libboost-serialization-dev, libboost-mpi-dev,
  libcgal-dev, liblapack-dev, libscotch-dev, libptscotch-dev,
- libmumps-dev, libmumps-seq-dev, libtrilinos-dev,
+ libmumps-dev, libmumps-seq-dev, 
  texinfo, texi2html, texlive-latex-recommended, texlive-latex-extra
+# I dont known how to do something like this (Pierre.Saramito at imag.fr):
+#  Build-Recommands: libtrilinos-dev
+# since this library is usefull and available on sid and squeeze, but not on wheezy.
 Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/rheolef/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/rheolef/trunk/

Modified: packages/rheolef/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/rules?rev=44674&op=diff
==============================================================================
--- packages/rheolef/trunk/debian/rules (original)
+++ packages/rheolef/trunk/debian/rules Fri Apr  6 16:37:42 2012
@@ -33,6 +33,11 @@
 
 configure: configure-stamp
 configure-stamp:
+	# Try to add optional "libtrilinos-dev" package if available (on sid & squeeze, not on wheezy)
+	# Here is a hack, since there is no "Build-Recommanded:" line in Sources packages:
+	- if apt-cache show libtrilinos-dev >/dev/null 2>/dev/null; then \
+	  sudo apt-get install libtrilinos-dev; \
+	fi
 	# Prepare the debian control files necessary for the creation of the packages
 	cat debian/shlibs.librheolef1.X | \
 	  sed -e "s/\@LIBRHEOLEF\@/$(LIBRHEOLEF)/g" \




More information about the debian-science-commits mailing list