Build runghc with Cabal
[ghc-hetmet.git] / utils / runghc / runghc.cabal
diff --git a/utils/runghc/runghc.cabal b/utils/runghc/runghc.cabal
new file mode 100644 (file)
index 0000000..17ed923
--- /dev/null
@@ -0,0 +1,28 @@
+Name: runghc
+-- XXX version number:
+Version: 0.67
+Copyright: XXX
+License: BSD3
+-- XXX License-File: LICENSE
+Author: XXX
+Maintainer: XXX
+Synopsis: XXX
+Description:
+       XXX
+Category: Development
+build-type: Simple
+cabal-version: >=1.2
+
+Flag base3
+    Description: Choose the new smaller, split-up base package.
+
+Executable runghc
+    Main-Is: runghc.hs
+
+    if flag(base3)
+        Build-Depends: base       >= 3   && < 4,
+                       directory  >= 1   && < 1.1,
+                       process    >= 1   && < 1.1
+    else
+        Build-Depends: base < 3
+