AppleScript-0.1.5: AppleScript.cabal
Name: AppleScript
Version: 0.1.5
License: BSD3
License-file: LICENSE
Author: Wouter Swierstra
Maintainer: Wouter Swierstra <wouter@chalmers.se>
Synopsis: Call AppleScript from Haskell.
Description: This package enables you to compile and
execute AppleScript from Haskell applications.
Category: Foreign
Extra-source-files: examples/HelloThere.hs
, examples/OpenLocation.hs
, examples/TextFields.hs
, cbits/RunScript.h
Build-type: Simple
Cabal-Version: >= 1.2 && < 2
Library {
if os(darwin) {
Buildable: True
Build-Depends: base >= 2 && < 5
Exposed-modules: Foreign.AppleScript
Frameworks: Carbon
Extensions: CPP, ForeignFunctionInterface
Include-Dirs: cbits
C-Sources: cbits/RunScript.c
}
else {
Buildable: False
Build-Depends: base >= 2 && < 5
}
if (impl(ghc >= 6.10.3 && < 6.12))
{
cc-options: -msse2
}
}