summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/pgf2.cabal
diff options
context:
space:
mode:
authorKrasimir Angelov <kr.angelov@gmail.com>2017-09-01 13:07:47 +0200
committerKrasimir Angelov <kr.angelov@gmail.com>2017-09-01 13:07:47 +0200
commitc48f3bdfbc789820e678e3e44aeafb4a82e18395 (patch)
tree70a7f603ef8675963042516387fc1bf06108cb24 /src/runtime/haskell-bind/pgf2.cabal
parent2b52ff1f731f6c063dd0b474dd22a9350d100d41 (diff)
rename the pgf2-bind package to pgf2
Diffstat (limited to 'src/runtime/haskell-bind/pgf2.cabal')
-rw-r--r--src/runtime/haskell-bind/pgf2.cabal36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/runtime/haskell-bind/pgf2.cabal b/src/runtime/haskell-bind/pgf2.cabal
new file mode 100644
index 000000000..df1cc2b1a
--- /dev/null
+++ b/src/runtime/haskell-bind/pgf2.cabal
@@ -0,0 +1,36 @@
+name: pgf2
+version: 0.1.0.0
+-- synopsis:
+-- description:
+homepage: http://www.grammaticalframework.org
+license: LGPL-3
+--license-file: LICENSE
+author: Krasimir Angelov, Inari
+maintainer:
+-- copyright:
+category: Language
+build-type: Simple
+extra-source-files: README
+cabal-version: >=1.10
+
+library
+ exposed-modules: PGF2, SG
+ other-modules: PGF2.FFI, PGF2.Expr, PGF2.Type, SG.FFI
+ build-depends: base >=4.3, bytestring >=0.9,
+ containers, pretty
+ -- hs-source-dirs:
+ default-language: Haskell2010
+ build-tools: hsc2hs
+
+ extra-libraries: sg pgf gu
+ cc-options: -std=c99
+ default-language: Haskell2010
+ c-sources: utils.c
+
+executable pgf-shell
+ main-is: pgf-shell.hs
+ hs-source-dirs: examples
+ build-depends: base, pgf2, containers, mtl, lifted-base
+ default-language: Haskell2010
+ if impl(ghc>=7.0)
+ ghc-options: -rtsopts