packages feed

musicxml-0.1: musicxml.cabal

name:           musicxml
version:        0.1
author:         Samuel Silva <silva.samuel@alumni.uminho.pt>
maintainer:     Samuel Silva <silva.samuel@alumni.uminho.pt>
copyright:      Copyright (c) 2008 Samuel Silva
stability:      experimental
synopsis:       Library to parse musicxml and write musicxml. 
description:    This library translates DTD specification of MusicXML 2.0 into
                specific type. 
                
                Library's purpose is to be interface between
                MusicXML format and its application, allowing reading and
                writting of musicxml documents.
                
                This library supports MusicXML at 2.0 version, not only partwise
                and timewise specification but also opus and container
                specification.
homepage:       https://troglodita.di.uminho.pt/svn/musica/work/MusicXML
license:        BSD3
license-file:   LICENSE
category:       Text, XML
tested-with:    GHC ==6.8.2, GHC ==6.8.3
build-type:     Simple
cabal-version:  >= 1.2
extra-source-files:
    BUGS
    CHANGELOG
    README
    TODO
    src/Makefile
    doc/Tutorial-musicxml.lt.pdf
    script/haskellpp.pl
    script/id.xsl
flag splitBase
    default: True
    description: base >= 3

library
    if flag(splitBase)
        build-depends: base >=3, directory, old-time, containers
    else 
        build-depends: base <3
    build-depends: pretty, HaXml >=1.19.4

    ghc-options: -Wall 
    hs-source-dirs: src
    exposed-modules: 
        Text.XML.MusicXML
        Text.XML.MusicXML.Attributes
        Text.XML.MusicXML.Barline
        Text.XML.MusicXML.Common
        Text.XML.MusicXML.Container
        Text.XML.MusicXML.Direction
        Text.XML.MusicXML.Identity
        Text.XML.MusicXML.Layout
        Text.XML.MusicXML.Link
        Text.XML.MusicXML.Note
        Text.XML.MusicXML.Opus
        Text.XML.MusicXML.Partwise
        Text.XML.MusicXML.Score
        Text.XML.MusicXML.Timewise
        Text.XML.MusicXML.Util

executable test-musicxml
    ghc-options: -Wall 
    hs-source-dirs: src, tests
    main-is: Test/MusicXML.lhs
    buildable: True