name: hydra-hs version: 1.0.0.2 synopsis: Haskell binding to the Sixense SDK for the Razer Hydra description: Bindings to the Sixense SDK for the Razer Hydra. To get started, get the SDK from Sixense (http://sixense.com/developers), install it, then install hydra.hs. The install script that comes with the SDK might not always work. To build hydra-hs, you need both sixense.h and libsixense.dylib in a location where they can be found (such as /usr/local/include and /usr/local/lib). homepage: https://github.com/mruegenberg/hydra-hs license: BSD3 license-file: LICENSE author: Marcel Ruegenberg maintainer: github@dustlab.com category: Hardware build-type: Simple cabal-version: >=1.8 Flag UsePkgConfig Description: Do not use pkg-config to check for library dependencies. Default: False library exposed-modules: System.Hardware.Hydra hs-source-dirs: src build-depends: base ==4.6.* , hmatrix >= 0.15 if !arch(x86_64) if flag(UsePkgConfig) PkgConfig-Depends: libsixense else Includes: sixense.h Extra-libraries: sixense else if flag(UsePkgConfig) PkgConfig-Depends: libsixense_x64 else Includes: sixense.h Extra-libraries: sixense_x64 -- note: the install script that comes with the Sixense SDK is slightly buggy. -- I had to manually copy libsixense.dylib to /usr/local/lib Test-Suite hydra-test type: exitcode-stdio-1.0 main-is: Main.hs hs-source-dirs: test build-depends: base ==4.6.* , hydra-hs