Release: HOgg 0.4.1
A new release of HOgg, on Hackage:
This contains updates to work with Hackage, the Haskell source package system; and also a new hogg man subcommand to generate man pages for subcommands.
Updated for Hackage
Hackage is Haskell's source packaging system. It makes it very easy to keep up to date with bleeding-edge releases.
You'll need the cabal command. This is already in Gentoo (emerge cabal) and Arch Linux (pacman -S cabal-install). If you're on a system where cabal is not already packaged, you'll first need to install GHC (eg. apt-get install ghc6 on Ubuntu 8.10 or Debian Lenny systems), then:
$ wget http://hackage.haskell.org/packages/archive/cabal-install/0.6.0/cabal-install-0.6.0.tar.gz $ tar zxf cabal-install-0.6.0.tar.gz $ cd cabal-install-0.6.0 $ chmod +x bootstrap.sh $ ./bootstrap.sh
This will download and build the packages required to set up cabal. From there, a new Haskell package like hogg can be installed by simply doing:
$ cabal update $ cabal install hogg
This will build and install hogg into $HOME/.cabal/bin (which of course you should add to your $PATH if you actually want to use anything you install via cabal :-)
man page output of self-documentation
hogg already generated its own help text, with runtime checking of example syntax. This release adds a hogg man subcommand which generates the same help text in Unix man page format:
$ hogg man man .TH HOGG 1 "December 2008" "hogg" "Annodex" .SH SYNOPSIS .B hogg .RI man [ .I OPTIONS ] .SH DESCRIPTION Generate Unix man page for a specific subcommand (eg. "hogg man chop") .SH OPTIONS -h, -? --help Display this help and exit -V --version Output version information and exit .SH EXAMPLES .PP Generate a man page for the "hogg chop" subcommand: .PP .RS \f(CWhogg man chop\fP .RE .SH AUTHORS hogg was written by Conrad Parker This manual page was autogenerated by .B hogg man man. Please report bugs to <ogg-dev@xiph.org>


1 Comments:
It's already packaged in Arch Linux: haskell-hogg. Yay automated packaging!
Post a Comment
Links to this post:
Create a Link
<< Home