packages feed

gt-tools-0.1: gt-tools.cabal

name:                   gt-tools
version:                0.1
cabal-version:          >= 1.8
build-type:             Simple
license:                GPL
license-file:           LICENSE
copyright:              Mikhail S. Pobolovets 2009-2010
maintainer:             Mikhail S. Pobolovets <styx.mp@gmail.com>
homepage:               http://github.com/styx/gtc
package-url:            git://github.com/styx/gtc.git
bug-reports:            http://github.com/styx/gtc/issues
synopsis:               Console and GUI interface for Google Translate service
description:            This package consist from console backend, GUI backend and Core module
                        for Google Translate service. It allows you to translate words and sentences
                        between different languages.
category:               Tools
author:                 Mikhail S. Pobolovets
stability:              experimental
tested-with:            GHC==6.10.4
data-files:             LICENSE README Gtg/main.glade
data-dir:               ""
extra-source-files:     Setup.lhs

flag gui
    description:        Use this flag if you wish to build GUI version
    default:            False

executable              gtc
    main-is:            gtc.hs
    buildable:          True
    ghc-options:        -Wall
    include-dirs:       .
    hs-source-dirs:     ., Gt, Gtc
    other-modules:      Gt.Core, Gt.Helpers, Gt.Langs, Gt.Net, Gt.Translation
    build-depends:
                        base >= 4 && < 5,
                        containers,
                        HTTP,
                        json,
                        url,
                        utf8-string

executable              gtg
    main-is:            gtg.hs

    if flag(gui)
      buildable:        True
    else
      buildable:        False

    ghc-options:        -Wall
    include-dirs:       .
    hs-source-dirs:     ., Gt, Gtg
    other-modules:      Gt.Core, Gt.Helpers, Gt.Langs, Gt.Net, Gt.Translation
    build-depends:
                        base >= 4 && < 5,
                        containers,
                        HTTP,
                        json,
                        url,
                        gtk,
                        glade,
                        utf8-string