From 67141ef8300a528d63a41c3ad0bbca67e6bbee06 Mon Sep 17 00:00:00 2001 From: Bryan O'Sullivan Date: Fri, 9 Nov 2007 05:39:32 +0000 Subject: [PATCH] Build with GHC 6.8.1. --- FileManip.cabal | 48 +++++++++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/FileManip.cabal b/FileManip.cabal index a0f38c2..7ff4f3c 100644 --- a/FileManip.cabal +++ b/FileManip.cabal @@ -1,19 +1,29 @@ -Name: FileManip -Version: 0.2 -License: LGPL -License-File: COPYING.LIB -Author: Bryan O'Sullivan -Maintainer: Bryan O'Sullivan -Synopsis: Expressive file and directory manipulation for Haskell. -Category: System -Description: A Haskell library for working with files and directories. - Includes code for pattern matching, finding files, - modifying file contents, and more. -Build-Depends: base, filepath, mtl, unix -GHC-Options: -Wall -O2 -Exposed-Modules: - System.FilePath.Find, - System.FilePath.Glob, - System.FilePath.GlobPattern, - System.FilePath.Manip -Extra-Source-Files: README +Name: FileManip +Version: 0.2 +License: LGPL +License-File: COPYING.LIB +Author: Bryan O'Sullivan +Maintainer: Bryan O'Sullivan +Synopsis: Expressive file and directory manipulation for Haskell. +Category: System +Description: A Haskell library for working with files and directories. + Includes code for pattern matching, finding files, + modifying file contents, and more. +Cabal-version: >= 1.2 + +Flag splitBase + Description: Choose the new, split-up base package. + +Library + if flag(splitBase) + Build-Depends: base, bytestring, directory, filepath, mtl, unix + else + Build-Depends: base, filepath, mtl, unix + + GHC-Options: -Wall -O2 + Exposed-Modules: + System.FilePath.Find, + System.FilePath.Glob, + System.FilePath.GlobPattern, + System.FilePath.Manip + Extra-Source-Files: README