[Hackage] #216: need a way to specify the foreign libraries a package depends on

Hackage trac at galois.com
Tue Jul 8 14:46:31 EDT 2008


#216: need a way to specify the foreign libraries a package depends on
----------------------------------+-----------------------------------------
  Reporter:  ross at soi.city.ac.uk  |        Owner:           
      Type:  enhancement          |       Status:  reopened 
  Priority:  normal               |    Milestone:  Cabal-1.6
 Component:  Cabal library        |      Version:  1.2.3.0  
  Severity:  major                |   Resolution:           
  Keywords:                       |   Difficulty:  normal   
Ghcversion:  6.8.2                |     Platform:  Linux    
----------------------------------+-----------------------------------------
Changes (by lemming):

  * status:  closed => reopened
  * resolution:  invalid =>

Comment:

 We have support for different compilers, why not also having support for
 different package systems? We could either sort the dependencies with
 respect to distributions:

 {{{
 Debian-Depends: zlib-devel, alsa-devel
 Fedore-Depends: zlib-devel, alsa-devel
 }}}

 or with respect to needed files:
 {{{
 File-Depends: zlib.h - zlib-devel.rpm >= 0.4, zlib-devel.deb >= 0.4
 File-Depends: asound.h - alsa-devel.rpm >= 2.0, alsa-devel.deb >= 2.0
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/216#comment:9>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list