#!/usr/bin/runhaskell import Distribution.Franchise configure = do copyright "David Roundy" license "BSD3" addExtraData "category" "Distribution" addExtraData "synopsis" "A package for configuring and building Haskell software" addExtraData "description" $ unlines ["", " Franchise is an easy-to use package for building Haskell", " software. Unlike Cabal, you aren't required to track every", " possible dependency in every possible build condition. In", " addition, you are not required to use an external tool such as", " autoconf in order to configure the build based on which", " packages, libraries and tools are present."] findPackagesFor "Distribution.Franchise" ghcFlags ["-threaded","-O2"] version "0.0" buildable = do p <- package "franchise" ["Distribution.Franchise"] e <- privateExecutable "sample-setup" "Setup.hs" [] --return (p .& e) return p main = build [] configure buildable