The hslackbuilder package

[ Tags: bsd3, distribution, program ] [ Propose Tags ]

HSlackBuilder automatically generates slackBuild scripts from a cabal package

[Skip to Readme]


Versions 0.0.1, 0.0.2
Dependencies base, Cabal (>1.2.2), directory, filepath, process, unix [details]
License BSD3
Author Andrea Rossato
Category Distribution
Home page
Uploaded Wed Feb 27 14:00:28 UTC 2008 by AndreaRossato
Distributions NixOS:0.0.2
Executables cabal2slackBuild
Downloads 583 total (6 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-03 [all 7 reports]
Hackage Matrix CI



Choose the new smaller, split-up base package.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hslackbuilder-0.0.1

[back to package description]
% HSlackBuilder
% Andrea Rossato


[HSlackBuilder] is a simple application, at the present time only
`cabal2slackBuild`, that will generate all needed scripts to build
from the source a [Hackage] package released in the [Cabal] format and
create a [Slackware] package to be install with [Slackware] `pkgtools`.


[HSlackBuilder] can be downloaded from [Hackage]:


To install simply run:

        tar xvfz hslackbuilder-0.0.1.tar.gz
        cd hslackbuilder-0.0.1
        runhaskell Setup.lhs configure --prefix=/usr/local
        runhaskell Setup.lhs build
        runhaskell Setup.lhs install # possibly to be run as root


Give a [Cabal] packages example-0.1.tar.gz, run with:

        cabal2slackBuild example-0.1.tar.gz

This will generate:

if `cabal2slackBuild` is run with the `-r` option also a
`slack-required` will be generated. This file will contain *only* the
[Haskell] packages needed for compiling `example`. If one of these
packages is missing, instead of producing the slackBuild scripts,
`cabal2slackBuild` will produce a warning.

This is the output of `cabal2slackBuild -h`

        Usage: cabal2slackBuild [OPTION...] FILE
        The file must be a .tar.gz of a cabal package.
          -h, -?           --help                       This help
          -V               --version                    Show version information
          -b build number  --build-number=build number  The build number
          -a architecture  --arch=architecture          The architecture
          -p               --hs-prefix                  Use a 'hs-' prefix in package name to
                                                        avoid conflicts with
                                                        slackware package names
          -r               --required                   Generate a slack-required from the
                                                        dependency field

Known Bugs and Issues

1. At the present time no [Haddock] documentation is generated for
executables. See:

2. [Haddock]- doesn't support the `--hoogle` option anymore.

3. The [Cabal] `haddock --hyperlink-source` option seems to be broken:

Please report bugs to:

         andrea.rossato AT unibz . it


Andrea Rossato

`andrea.rossato AT unibz . it`


This software is released under a BSD-style license. See LICENSE for
more details.

Copyright &copy; 2007 Andrea Rossato