packages feed

hmp3-1.4: hmp3.cabal

name:                hmp3
version:             1.4
homepage:            http://code.haskell.org/~dons/code/hmp3
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
extra-source-files:  Keymap.hs-boot README TODO configure configure.ac

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

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

    ghc-options:         -Wall -O2 -funbox-strict-fields -optl-Wl,-s -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