source: CMT/v1r25-branch/mgr/CMT.pacman @ 671

Last change on this file since 671 was 671, checked in by rybkin, 10 years ago

merge -r 668:670 HEAD

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1#-----------------------------------------------------------
2# Copyright Christian Arnault LAL-Orsay CNRS
3# arnault@lal.in2p3.fr
4# Modified by Grigory Rybkin
5# See the complete license in cmt_license.txt "http://www.cecill.info".
6#-----------------------------------------------------------
7
8description ('CMT <version>')
9packageName ('CMT')
10version ('<version>')
11
12pacmanVersionGE('3.13')
13
14{
15    platformGE ('Linux') ; downloadUntar ('http://www.cmtsite.net/<version>/CMT<version>Linux-i686.tar.gz', 'CMTBASE')
16  OR
17    platformGE ('darwin') ; processor ('i386') ; downloadUntar ('http://www.cmtsite.net/<version>/CMT<version>Darwin-i386.tar.gz', 'CMTBASE')
18  OR
19    platformGE ('darwin') ; processor ('x86_64') ; downloadUntar ('http://www.cmtsite.net/<version>/CMT<version>Darwin-i386.tar.gz', 'CMTBASE')
20#  OR
21#    platformGE ('darwin') ; processor ('Power Macintosh') ; downloadUntar ('http://www.cmtsite.net/<version>/CMT<version>Darwin-PowerMacintosh.tar.gz', 'CMTBASE')
22  OR
23    downloadUntar ('http://www.cmtsite.net/<version>/CMT<version>.tar.gz', 'CMTBASE')
24}
25
26cd ('$CMTBASE/<version>/mgr')
27shellOutputContains ('./INSTALL', 'CMT installation terminated')
28{
29  shellOutputContains ('. ./setup.sh; cmt version', '<version>')
30    OR shell ('. ./setup.sh; make')
31}
32shellOutputContains ('. ./setup.sh; cmt version', '<version>')
33cd ()
Note: See TracBrowser for help on using the repository browser.