packages feed

hmp3-1.5.2: hmp3.cabal

name:                hmp3
version:             1.5.2
homepage:            http://www.cse.unsw.edu.au/~dons/hmp3.html
license:             GPL
license-file:        LICENSE
author:              Don Stewart
maintainer:          dons@galois.com
category:            Sound
synopsis:            An ncurses mp3 player written in Haskell
description:
    An mp3 player with a curses frontend. Playlists are populated by
    passing directory names on the commandline, and saved to the
    ~/.hmp3db database. Type 'h' to display the help page.  Colours may
    be configured at runtime by editing the "~/.hmp3" file.
cabal-version:       >= 1.2
build-type:          Configure
extra-source-files:  Keymap.hs-boot README TODO configure configure.ac
                     cbits/config.h.in ./cbits/utils.h ./cbits/utils.c

flag small_base
  description: Choose the new smaller, split-up base package.

executable hmp3
    build-depends:     unix,
                       zlib >= 0.4,
                       binary >= 0.4,
                       pcre-light >= 0.3,
                       mersenne-random >= 0.1
    if flag(small_base)
        build-depends: base >= 3,
                       bytestring >= 0.9,
                       containers,
                       array,
                       old-time,
                       directory,
                       process
    else
        build-depends: base < 3

    ghc-options:         -Wall -funbox-strict-fields -threaded
    main-is:             Main.hs
    other-modules:       Curses Config Core FastIO Keymap
                         Lexer Lexers State Style Syntax Tree UI Utils

    extensions:          CPP, ForeignFunctionInterface
    extra-libraries:     curses
    include-dirs:        cbits
    c-sources:           cbits/utils.c