[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/emerge/portage/win32libs-sources/mpir-src
From:       Cristian OneČ› <onet.cristian () gmail ! com>
Date:       2011-03-10 20:42:11
Message-ID: 20110310204211.DCA18AC8C5 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1224422 by conet:

Fix mpir binaries by not renaming them to gmp since that won't help and it's \
confusing.

 M  +3 -4      mpir-src-20110122.py  


--- trunk/kdesupport/emerge/portage/win32libs-sources/mpir-src/mpir-src-20110122.py \
#1224421:1224422 @@ -46,21 +46,20 @@
         return True
 
     def install( self ):
-        os.chdir( os.path.join( self.sourceDir(), 'build.vc10') )
-        self.system("to_gmp.bat")
         if not os.path.isdir( os.path.join( self.installDir() , "bin" ) ):
                 os.makedirs( os.path.join( self.installDir() , "bin" ) )
-        shutil.move(os.path.join( self.sourceDir(), 'build.vc10', 'dll', 'Win32', \
'Release', 'gmp.dll'), os.path.join( self.installDir() , "bin" , "gmp.dll") ) +       \
shutil.move(os.path.join( self.sourceDir(), 'build.vc10', 'dll', 'Win32', 'Release', \
'mpir.dll'), os.path.join( self.installDir() , "bin" , "mpir.dll") )  
         if not os.path.isdir( os.path.join( self.installDir() , "lib" ) ):
                 os.makedirs( os.path.join( self.installDir() , "lib" ) )
-        shutil.move(os.path.join( self.sourceDir(), 'build.vc10', 'dll', 'Win32', \
'Release', 'gmp.lib'), os.path.join( self.installDir() , "lib" , "gmp.lib") ) +       \
shutil.move(os.path.join( self.sourceDir(), 'build.vc10', 'dll', 'Win32', 'Release', \
'mpir.lib'), os.path.join( self.installDir() , "lib" , "mpir.lib") )  
         if not os.path.isdir( os.path.join( self.installDir() , "include" ) ):
                 os.makedirs( os.path.join( self.installDir() , "include" ) )
         shutil.move(os.path.join( self.sourceDir(), 'build.vc10', 'dll', 'Win32', \
                'Release', 'gmp.h'), os.path.join( self.installDir() , "include" , \
                "gmp.h") )
         shutil.move(os.path.join( self.sourceDir(), 'build.vc10', 'dll', 'Win32', \
                'Release', 'gmpxx.h'), os.path.join( self.installDir() , "include" , \
                "gmpxx.h") )
         shutil.move(os.path.join( self.sourceDir(), 'build.vc10', 'dll', 'Win32', \
'Release', 'mpir.h'), os.path.join( self.installDir() , "include" , "mpir.h") ) +     \
shutil.move(os.path.join( self.sourceDir(), 'build.vc10', 'dll', 'Win32', 'Release', \
'mpirxx.h'), os.path.join( self.installDir() , "include" , "mpirxx.h") )  \
shutil.move(os.path.join( self.sourceDir(), 'build.vc10', 'dll', 'Win32', 'Release', \
'gmp-mparam.h'), os.path.join( self.installDir() , "include" , "gmp-mparam.h") )  
         return True


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic