# # CMT installation and setup. # # Hi Simon: Here's a suggestion. I actually made this a long time ago and modified it to get # your download. I don't know if the setup is correct any more, but it might be a good starting # point. # # Saul # description = 'CMT ${cmtversion} (v1)' url = 'http://www.cmtsite.org' download = {'unix':'CMT${cmtversion}.tar.gz'} source = 'http://www.cmtsite.org/${cmtversion}/' inpath = ['gcc','make'] localdoc = 'doc/CMT.htm' # # This turns off using the root directory extracted from tar. - I 'm getting those tar # messages again from your tarball. This messes up getting the root installation, so I'm # turning that off with the following: # ##usePackageRoot = 0 # # ...so I cd from the installation area by hand before each shell command. # install = { '*': ['cd $PACMAN_INSTALLATION/CMT/${cmtversion}/mgr; ./INSTALL'] } # # since usePackageRoot=0, I have to clean up by hand # uninstall = ['rm -r -f CMT CMT${cmtversion}.tar']