| Line |   | 
|---|
| 1 | #
 | 
|---|
| 2 | #   CMT installation and setup.
 | 
|---|
| 3 | #
 | 
|---|
| 4 | #   Hi Simon:  Here's a suggestion.  I actually made this a long time ago and modified it to get
 | 
|---|
| 5 | #   your download.  I don't know if the setup is correct any more, but it might be a good starting
 | 
|---|
| 6 | #   point.
 | 
|---|
| 7 | #
 | 
|---|
| 8 | #      Saul
 | 
|---|
| 9 | #
 | 
|---|
| 10 | description  = 'CMT ${cmtversion} (v1)'
 | 
|---|
| 11 | url          = 'http://www.cmtsite.org'
 | 
|---|
| 12 | 
 | 
|---|
| 13 | download     = {'unix':'CMT${cmtversion}.tar.gz'}
 | 
|---|
| 14 | source       = 'http://www.cmtsite.org/${cmtversion}/'
 | 
|---|
| 15 | 
 | 
|---|
| 16 | inpath       = ['gcc','make']
 | 
|---|
| 17 | 
 | 
|---|
| 18 | localdoc     = 'doc/CMT.htm'
 | 
|---|
| 19 | #
 | 
|---|
| 20 | #   This turns off using the root directory extracted from tar. - I 'm getting those tar 
 | 
|---|
| 21 | #   messages again from your tarball.  This messes up getting the root installation, so I'm 
 | 
|---|
| 22 | #   turning that off with the following:
 | 
|---|
| 23 | #
 | 
|---|
| 24 | ##usePackageRoot = 0
 | 
|---|
| 25 | #
 | 
|---|
| 26 | #   ...so I cd from the installation area by hand before each shell command.
 | 
|---|
| 27 | #
 | 
|---|
| 28 | install      = { '*': ['cd $PACMAN_INSTALLATION/CMT/${cmtversion}/mgr; ./INSTALL'] }
 | 
|---|
| 29 | #
 | 
|---|
| 30 | #  since usePackageRoot=0, I have to clean up by hand
 | 
|---|
| 31 | #
 | 
|---|
| 32 | uninstall    = ['rm -r -f CMT CMT${cmtversion}.tar']
 | 
|---|
| 33 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.