[Pkg-scicomp-commits] atlas/tags/3.8.3-1

Sylvestre Ledru sylvestre.ledru at inria.fr
Fri Apr 24 23:47:34 UTC 2009


SVN commit 4399 by sylvestre-guest:

Manage atlas base packages


 M  +11 -6     atlas/tags/3.8.3-1/rules  


--- atlas/tags/3.8.3-1/rules #4398:4399
@@ -103,12 +103,12 @@
 		fi
 		dh_testdir
 		for ext in $(ARCHS); do							\
-			targetName=`echo $$ext|sed -e "s|\(.*\)_.*_.*|atlas-\1|g"`;		\
+			targetName=`echo $$ext|sed -e "s|\(.*\)_.*_.*|atlas-\1|g"`;	\
 			atlasArch=`echo $$ext|sed -e "s|.*_\(.*\)_.*|\1|g"`;		\
 			atlasISA=`echo $$ext|sed -e "s|.*_.*_\(.*\)|\1|g"`;		\
-			mkdir -p build/$$targetName;				\
+			mkdir -p build/$$targetName;					\
 			pushd build/$$targetName;					\
-			../../configure $(COMMON_CONFIG_PARAMS);	\
+			../../configure $(COMMON_CONFIG_PARAMS);			\
 			echo "Configure done. targetName = $$targetName / atlasArch = $$atlasArch / atlasISA = $$atlasISA";							\
 			popd;										\
 		done
@@ -137,6 +137,14 @@
 #			elif [ $$targetName = "sse3" ]; then						\
 #				sed -i 's#ARCH =.*#ARCH = P4E32SSE3#' Make.inc;	\
 			fi;													
+
+install/libatlas3gf-base::
+	mv $(CURDIR)/debian/tmp/usr/lib/atlas-base/  $(CURDIR)/debian/tmp/usr/lib/atlas/
+	mv $(CURDIR)/debian/tmp/usr/lib/atlas/libatlas* $(CURDIR)/debian/tmp/usr/lib/
+	mv $(CURDIR)/debian/tmp/usr/lib/atlas/libf77blas* $(CURDIR)/debian/tmp/usr/lib/ 
+	mv $(CURDIR)/debian/tmp/usr/lib/atlas/libcblas* $(CURDIR)/debian/tmp/usr/lib/ 
+
+
 # Everything is built in the "build" target
 build-arch:  build
 build-indep: build
@@ -163,9 +171,6 @@
 			targetName=`echo $$ext|sed -e "s|\(.*\)_.*_.*|atlas-\1|g"`;		\
 			pushd build/$$targetName;		\
 			make DESTDIR=$(DEB_DESTDIR) install; 		\
-			if [ $$targetName = "base" ]; then 				\
-				echo "do something";					\
-			fi;											\
 			popd;										\
 		done
 



More information about the Pkg-scicomp-commits mailing list