packages feed

AppleScript-0.1.4: AppleScript.cabal

Name:			AppleScript
Version:		0.1.4
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
Build-Type:		Simple
Cabal-Version:          >= 1.2
Extra-source-files:     examples/HelloThere.hs
                        , examples/OpenLocation.hs
                        , examples/TextFields.hs
                        , cbits/RunScript.h

Library {
if os(darwin) {
  Build-Depends:	base
  Buildable:		True
  Exposed-modules:	Foreign.AppleScript
  Frameworks: 		Carbon
  Extensions: 		CPP, ForeignFunctionInterface
  Include-Dirs:         cbits
  C-Sources: 		cbits/RunScript.c
  }
else {
  Buildable:		False
  }
}