Changeset 45 for CMT/HEAD/mgr/CMT.pacman


Ignore:
Timestamp:
May 2, 2005, 9:31:23 AM (19 years ago)
Author:
arnault
Message:

cmt cvs operations - See CL 272

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/mgr/CMT.pacman

    r11 r45  
    55#-----------------------------------------------------------
    66
    7 #
    8 #   CMT installation and setup.
    9 #
    10 #      (from Saul Youssef himself)
    11 #
    12 description  = 'CMT <version>'
    13 url          = 'http://www.cmtsite.org'
     7description ('CMT <version>')
     8packageName ('CMT')
     9version ('<version>')
    1410
    15 download     = {'unix':'CMT<version>.tar.gz'}
    16 source       = 'http://www.cmtsite.org/<version>/'
     11{
     12    platformGE ('Linux') ; downloadUntar ('http://www.cmtsite.org/<version>/CMT<version>Linux-i686.tar.gz', 'CMTBASE')
     13  OR
     14    platformGE ('Cygwin') ; downloadUntar ('http://www.cmtsite.org/<version>/CMT<version>CYGWIN_NT-5.1-i686', 'CMTBASE')
     15  OR
     16    downloadUntar ('http://www.cmtsite.org/<version>/CMT<version>.tar.gz', 'CMTBASE')
     17}
    1718
    18 inpath       = ['gcc','make']
     19cd ('$CMTBASE/<version>/mgr')
     20shellOutputContains ('INSTALL', 'CMT installation terminated')
     21{
     22  shellOutputContains ('. setup.sh; cmt version', '<version>')
     23    OR shell ('. setup.sh; gmake')
     24}
     25shellOutputContains ('. setup.sh; cmt version', '<version>')
     26cd ()
    1927
    20 #paths        = [['PATH','$PACMAN_INSTALLATION/CMT/<version>/mgr']]
    21 enviros      = [['CMTROOT',''],['CMTCONFIG','i386_linux24'],['CMTBIN','Linux'],['CLASSPATH','java']]
    22 localdoc     = 'doc/CMT.htm'
    23 #
    24 #   This turns off using the root directory extracted from tar.
    25 #
    26 usePackageRoot = 0
    27 #
    28 #   ...so I cd from the installation area by hand before each shell command.
    29 #
    30 install      = { '*': ['cd CMT/<version>/mgr; ./INSTALL'] }
    31 setup         = ["source ${PACMAN_INSTALLATION}/CMT/<version>/mgr/setup.SHELL"]
    32 #
    33 #  since usePackageRoot=0, I have to clean up by hand
    34 #
    35 uninstall    = ['rm -r -f CMT CMT<version>.tar']
Note: See TracChangeset for help on using the changeset viewer.