[Slackbuilds-users] Renaming package (haskell)

Mikko Varri vmj at linuxbox.fi
Wed Dec 16 16:34:49 UTC 2009



On Wed, Dec 16, 2009 at 10:54:46AM -0500, paul wisehart wrote:
>
> So I agree with your convention, but with one more thing to
> consider; Some package builders use:
>   ghc-${GHC_VERSION}/${TARNAM}-${VERSION}/site-local/
>
> which might be a good idea for all non default haskell
> libs.


I prefer the /usr/$lib/$ghc/$pkg.  I don't know why.


On Wed, Dec 16, 2009 at 10:54:46AM -0500, paul wisehart wrote:
>
> I also agree that it's a good idea to prefix the haskell
> libe with "haskell-". ("hs-" would also work.)
> 


Good.  My next update to the X11 bindings will be renamed to
"haskell-X11".  Then, as far as I know, all the haskell libs on SBo
will be correctly named.


On Wed, Dec 16, 2009 at 10:54:46AM -0500, paul wisehart wrote:
> 
> I *would not* prefix xmonad[1]
> 


Agreed.


On Wed, Dec 16, 2009 at 10:54:46AM -0500, paul wisehart wrote:
>
> Also to be totally haskell correct there should be post-install
> hooks for registering the packages in haskell with:
> ghc-pkg register
> 


Agreed.  I think all the SBo packages already do that, no?


On Wed, Dec 16, 2009 at 10:54:46AM -0500, paul wisehart wrote:
> 
> and
> ghc-pkg unregister (when package removed.)
> 


Closest thing we can do is add a note in the README.  I think this is
also already the case.


BR;
Mikko Värri


More information about the SlackBuilds-users mailing list