[arch-haskell] Example PKGBUILD
magnus at therning.org
Fri Jan 22 10:59:51 EST 2010
On Fri, Jan 22, 2010 at 3:34 PM, Jim Pryor
<lists+arch-haskell at jimpryor.net> wrote:
> On Mon, Jan 18, 2010 at 05:08:42PM -0800, Don Stewart wrote:
>> Here's an example of what new PKGBUILDs look like if we rely on the
>> "provides" semantics.
>> depends=('gmp' 'ghc' 'haskell-cabal' 'haskell-x11>=220.127.116.11' 'haskell-containers' 'haskell-directory' 'haskell-filepath' 'haskell-mtl' 'haskell-process' 'haskell-unix')
>> * all haskell dependencies are statically linked, so can go in the makedepends field.
> Is that true? Then shouldn't most of those depends really be
> makedepends? Or we should update the wiki page.
IME you'll get complaints from ghc when installing libraries unless
all dependencies are installed first. (Like a few days ago, when I
tried installing haskell-network without first having haskell-parsec
installed, due to a missing dependency in the Arch package:
I think *applications* can have all their dependencies as
'makedepends', but libraries really shouldn't.
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus＠therning．org Jabber: magnus＠therning．org
http://therning.org/magnus identi.ca|twitter: magthe
More information about the arch-haskell