Skip to content

Commit

Permalink
Various
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoerzen committed Dec 7, 2006
1 parent dea3429 commit 1bff26b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 23 deletions.
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MissingH: Haskell libraries
ftphs
Copyright (C) 2004-2006 John Goerzen <jgoerzen@complete.org>

All code is under the following license unless otherwise noted:
Expand Down
21 changes: 2 additions & 19 deletions Setup.hs
Original file line number Diff line number Diff line change
@@ -1,22 +1,5 @@
#!/usr/bin/env runhugs

#!/usr/bin/env runhaskell
import Distribution.Simple
import Distribution.PackageDescription
import Distribution.Simple.LocalBuildInfo
import Distribution.Version
import System.Info
import Data.Maybe
import System.Cmd

missingHooks = defaultUserHooks {confHook = customConfHook}

customConfHook descrip flags =
let mydescrip = case System.Info.os of
"mingw32" -> descrip
_ -> descrip {buildDepends =
(Dependency "unix" AnyVersion) :
buildDepends descrip}
in (confHook defaultUserHooks) mydescrip flags

main = defaultMainWithHooks missingHooks
main = defaultMain

2 changes: 1 addition & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MissingH: Haskell libraries
ftphs
Copyright (C) 2004-2006 John Goerzen <jgoerzen@complete.org>

All code is under the following license unless otherwise noted:
Expand Down
3 changes: 1 addition & 2 deletions ftphs.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ Exposed-Modules: Network.FTP.Client,
Extensions: ExistentialQuantification, OverlappingInstances,
UndecidableInstances, CPP
Build-Depends: network, parsec, base,
haskell98, mtl, HUnit, regex-compat, QuickCheck, FilePath,
haskell98, mtl, regex-compat,
hslogger
-- Cabal will automatically add unix here on non-Windows platforms
GHC-Options: -O2

Executable: runtests
Expand Down

0 comments on commit 1bff26b

Please sign in to comment.