Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 53 lines (49 sloc) 2.608 kb
Name: hubris
Version: 0.0.3
Author: Mark Wotton
Maintainer: mwotton@gmail.com
Build-Type: Simple
Cabal-Version: >=1.2
License: OtherLicense
License-File: LICENSE
Build-Type: Simple
Author: Mark Wotton <mwotton@gmail.com>
Maintainer: Mark Wotton <mwotton@gmail.com>
bug-reports: http://github.com/mwotton/Hubris-Haskell/issues
Category: Language
Stability: Experimental
extra-source-files:
Synopsis: Support library for Hubris, the Ruby <=> Haskell bridge
Description: Support library for Hubris, the Ruby to Haskell bridge
more info at <http://github.com/mwotton/Hubris-Haskell>
.
Anyway, this version strips the boilerplate that used to be necessary, and is intended to be used in conjunction with <http://github.com/mwotton/Hubris>.
Library
-- the ordering is critical, because Cabal doesn't do dependency analysis.
Exposed-Modules: Language.Ruby.Hubris.Binding, Language.Ruby.Hubris, Language.Ruby.Hubris.LibraryBuilder, Language.Ruby.Hubris.ZCode, Language.Ruby.Hubris.GHCBuild, Includes, Language.Ruby.Hubris.Arity
c-sources: cbits/rshim.c
-- includes: cbits/rshim.h
install-includes: cbits/rshim.h
include-dirs: cbits
cc-options: -U__BLOCKS__ -DHAVE_SNPRINTF
extra-libraries: ruby
-- a proper fix for this would involve autoconf and I'm not feeling up to it.
-- best to pass the args on the command line.
--extra-include-dirs=/opt/local/include/ruby-1.9.1/
--extra-lib-dirs: /opt/local/lib
extra-libraries: ruby
build-depends: ghc, Cabal>=1.7.4 && < 2.0, base, haskell98, containers, bytestring, array, mtl, old-time, ghc-paths, hint, HUnit
Executable Hubrify
Main-is: Hubrify.hs
Build-Depends: base >= 3 && < 5, ghc, Cabal>=1.7.4 && < 2.0, base, haskell98, containers, bytestring, array, mtl, old-time, ghc-paths, hint, process
Other-Modules: Language.Ruby.Hubris.Binding
c-sources: cbits/rshim.c
include-dirs: cbits
cc-options: -U__BLOCKS__ -DHAVE_SNPRINTF
extra-libraries: ruby
-- extra-libraries: ruby1.9
-- This is bad form, apparently, and if i include it, ./Setup dist cries big fat tears,
-- but you _really_ want a dynamic lib with Hubrify, or you'll get a truly
-- huge binary (may not even link, I had problems with the iconv dependency from HSbase)
-- anyway, pass "--ghc-options=-dynamic" to ./Setup configure, and you should be apples.
-- ghc-options: -dynamic
Jump to Line
Something went wrong with that request. Please try again.