Source

builders / zeromq-haskell

Full commit
#!/usr/bin/env python

import os.path
from build import *

cabal = join(INSTALL_DIR, 'bin/cabal')

if os.path.isfile(cabal):
   call([cabal, 'install', 'zeromq-haskell',
         '--extra-include-dirs=' + join(INSTALL_DIR, 'include'),
         '--extra-lib-dirs=' + join(INSTALL_DIR, 'lib')], cwd='/')
else:
   print 'Run the Haskell builder to install the Haskell Platform.'