Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 79 lines (67 sloc) 1.883 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
name: wxdirect
version: 0.13.1.3
license: BSD3
license-file: LICENSE
author: Daan Leijen
maintainer: wxhaskell-devel@lists.sourceforge.net
category: GUI, User interfaces
synopsis: helper tool for building wxHaskell
description:
  wxHaskell is a portable and native GUI library for Haskell. It is built on
  top of wxWidgets, a comprehensive C++ library that is portable across all
  major GUI platforms, including GTK, Windows, X11, and MacOS X. This version
  works with wxWidgets 2.8 only.
homepage: http://haskell.org/haskellwiki/WxHaskell

cabal-version: >= 1.2
build-type: Simple

flag splitBase
    description: use new split base
    default: True

library
  hs-source-dirs:
    src

  if flag(splitBase)
    build-depends:
        base >= 4 && < 5
  else
    build-depends:
        base >= 3 && < 4

  exposed-modules:
    Application.Wxdirect

  ghc-options: -Wall
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs

executable wxdirect
  main-is: Main.hs

  other-modules: Classes
               , CompileClasses
               , CompileClassInfo
               , CompileClassTypes
               , CompileDefs
               , CompileHeader
               , CompileSTC
               , DeriveTypes
               , HaskellNames
               , IOExtra
               , MultiSet
               , ParseC
               , ParseEiffel
               , Types

  hs-source-dirs:
    src

  build-depends:
    parsec >= 2.1.0 && < 4,
    time >= 1.0 && < 1.5,
    strict >= 0.3 && < 1.0,
    directory >= 1.0 && < 2.0

  if flag(splitBase)
    build-depends:
        base >= 4 && < 5,
        containers >= 0.2 && < 0.6
  else
    build-depends:
        base >= 3 && < 4,
        containers >= 0.1 && < 0.3

-- ghc-options: -Wall
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs
Something went wrong with that request. Please try again.