[haskell-platform] #7: Installer/package for OSX

haskell-platform haskell-platform at projects.haskell.org
Wed Apr 1 10:54:09 EDT 2009


#7: Installer/package for OSX
-------------------+--------------------------------------------------------
Reporter:  duncan  |        Owner:  gregorycollins     
    Type:  task    |       Status:  assigned           
Priority:  major   |    Milestone:  Release 1: 2008.0.0
 Version:          |   Resolution:                     
Keywords:          |  
-------------------+--------------------------------------------------------
Comment (by gregorycollins):

 The "cabal2macpkg" program will take a .cabal package and turn it into a
 mac installer file. I envision it having two modes:

     1. take a single .cabal library and make a .pkg file

     2. read a .cabal file, turn all of its dependencies into .pkg files,
        and package those up together into an .mpkg file.


 I've gotten most of the way through the first part; the process goes:

     1. find a .cabal file in the current working directory

     2. run "cabal build; cabal haddock" into a staging area

     3. run "cabal register --gen-pkg-config" and postprocess the results
        to generate a registration script that will be run by the OS X
        installer

     4. turn the staging area into a mac package file using the OS X
        developer tools

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/7#comment:3>
haskell-platform <http://haskell.org/haskellwiki/Haskell_Platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries


More information about the Haskell-platform mailing list