r36583 - /packages/rheolef/trunk/debian/rules

saramito-guest at users.alioth.debian.org saramito-guest at users.alioth.debian.org
Mon May 31 08:01:43 UTC 2010


Author: saramito-guest
Date: Mon May 31 08:01:23 2010
New Revision: 36583

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36583
Log:
lintian

Modified:
    packages/rheolef/trunk/debian/rules

Modified: packages/rheolef/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/rules?rev=36583&op=diff
==============================================================================
--- packages/rheolef/trunk/debian/rules (original)
+++ packages/rheolef/trunk/debian/rules Mon May 31 08:01:23 2010
@@ -30,32 +30,25 @@
 
 configure: configure-stamp
 configure-stamp:
-	# Prepare the debian control files necessary for
-	# the creation of the packages
+	# Prepare the debian control files necessary for the creation of the packages
 	cat debian/shlibs.librheolefX.X | \
 	  sed -e "s/\@LIBRARY\@/$(LIBRHEOLEF)/g" \
               -e "s/\@MAJOR_VERSION\@/$(MAJOR_VERSION)/g" \
               -e "s/\@MINOR_VERSION\@/$(MINOR_VERSION)/g" \
               -e "s/\@VERSION\@/$(VERSION)/g" \
-              -e "s/\@SONAME\@/$(SONAME)/g" > /tmp/shlibs.rheolef.tmp
-	mv -f /tmp/shlibs.rheolef.tmp debian/shlibs.$(LIBRHEOLEF)
-
+              -e "s/\@SONAME\@/$(SONAME)/g" > debian/shlibs.$(LIBRHEOLEF)
+	cat debian/librheolefX.X.overrides | \
+	  sed -e "s/\@LIBRARY\@/$(LIBRHEOLEF)/g" \
+              -e "s/\@MAJOR_VERSION\@/$(MAJOR_VERSION)/g" \
+              -e "s/\@MINOR_VERSION\@/$(MINOR_VERSION)/g" \
+              -e "s/\@VERSION\@/$(VERSION)/g" \
+              -e "s/\@SONAME\@/$(SONAME)/g" > debian/$(LIBRHEOLEF).overrides
 	# Rename the template files
 	cat debian/librheolefX.X.install | sed -e "s/\@VERSION\@/$(VERSION)/g" > debian/librheolef$(VERSION).install
 	cp -f debian/librheolefX.X.substvars debian/librheolef$(VERSION).substvars
-
 	dh_testdir
-	# Configure the package.
-	# rm -f config/config.{guess,sub}
-	#test -f config/config.guess || cp /usr/share/libtool/config.guess config/
-	#test -f config/config.sub   || cp /usr/share/libtool/config.sub   config/
-
-	# The above commands are replaced by the
-	# (better) libtoolize command called by the bootstrap script
-
 	./bootstrap
 	CC=gcc CXX=g++ ./configure --enable-fast-install --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-optim --with-umfpack --enable-debian-packaging=yes
-
 	touch configure-stamp
 
 build: build-stamp




More information about the debian-science-commits mailing list