git-annex/git-annex.cabal

144 lines
4.1 KiB
Text
Raw Normal View History

Name: git-annex
Version: 4.20130406
Cabal-Version: >= 1.8
License: GPL
Maintainer: Joey Hess <joey@kitenet.net>
Author: Joey Hess
Stability: Stable
2013-02-27 05:41:01 +00:00
Copyright: 2010-2013 Joey Hess
2012-09-24 19:20:28 +00:00
License-File: COPYRIGHT
Homepage: http://git-annex.branchable.com/
Build-type: Custom
Category: Utility
Synopsis: manage files with git, without checking their contents into git
Description:
git-annex allows managing files with git, without checking the file
contents into git. While that may seem paradoxical, it is useful when
dealing with files larger than git can currently easily handle, whether due
2012-02-15 23:43:15 +00:00
to limitations in memory, time, or disk space.
.
Even without file content tracking, being able to manage files with git,
move files around and delete files with versioned directory trees, and use
branches and distributed clones, are all very handy reasons to use git. And
annexed files can co-exist in the same git repository with regularly
versioned files, which is convenient for maintaining documents, Makefiles,
etc that are associated with annexed files but that benefit from full
revision control.
Flag S3
Description: Enable S3 support
Flag WebDAV
Description: Enable WebDAV support
2012-06-17 21:15:56 +00:00
Flag Inotify
Description: Enable inotify support
Flag Dbus
Description: Enable dbus support
Flag Assistant
Description: Enable git-annex assistant and watch command
Flag Webapp
Description: Enable git-annex webapp
2012-09-07 23:44:20 +00:00
Flag Pairing
Description: Enable pairing
2012-09-07 18:54:00 +00:00
Flag XMPP
Description: Enable notifications using XMPP
Flag DNS
Description: Enable the haskell DNS library for DNS lookup
2013-02-27 05:41:01 +00:00
Flag Production
Description: Enable production build (slower build; faster binary)
Flag Android
Description: Building for Android
Default: False
2013-02-27 05:41:01 +00:00
Flag TestSuite
Description: Embed the test suite into git-annex
Executable git-annex
Main-Is: git-annex.hs
Build-Depends: MissingH, hslogger, directory, filepath,
unix, containers, utf8-string, network (>= 2.0), mtl (>= 2),
bytestring, old-locale, time,
extensible-exceptions, dataenc, SHA, process, json,
2013-02-08 18:19:45 +00:00
base (>= 4.5 && < 4.8), monad-control, transformers-base, lifted-base,
IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, process,
SafeSemaphore, uuid, random, regex-tdfa
-- Need to list these because they're generated from .hsc files.
Other-Modules: Utility.Touch Utility.Mounts
2012-07-26 02:04:10 +00:00
Include-Dirs: Utility
C-Sources: Utility/libdiskfree.c Utility/libmounts.c
2013-02-27 05:41:01 +00:00
CC-Options: -Wall
2013-04-14 16:49:09 +00:00
GHC-Options: -threaded -Wall
CPP-Options: -DWITH_CLIBS
2013-04-14 16:49:09 +00:00
Extensions: PackageImports
2013-02-27 05:41:01 +00:00
if flag(Production)
GHC-Options: -O2
if flag(TestSuite)
2013-02-28 03:21:43 +00:00
Build-Depends: HUnit
CPP-Options: -DWITH_TESTSUITE
if flag(S3)
Build-Depends: hS3
CPP-Options: -DWITH_S3
if flag(WebDAV)
2012-12-06 22:04:38 +00:00
Build-Depends: DAV (>= 0.3), http-conduit, xml-conduit, http-types
2012-11-18 17:28:18 +00:00
CPP-Options: -DWITH_WEBDAV
if flag(Assistant) && ! os(windows) && ! os(solaris)
Build-Depends: async, stm (>= 2.3)
CPP-Options: -DWITH_ASSISTANT
if flag(Android)
CPP-Options: -D__ANDROID__
if os(linux) && flag(Inotify)
2012-06-17 21:15:56 +00:00
Build-Depends: hinotify
CPP-Options: -DWITH_INOTIFY
else
if os(darwin)
Build-Depends: hfsevents
2013-01-05 17:48:21 +00:00
CPP-Options: -DWITH_FSEVENTS
else
if (! os(windows) && ! os(solaris) && ! os(linux))
CPP-Options: -DWITH_KQUEUE
C-Sources: Utility/libkqueue.c
Includes: sys/event.h
2012-06-17 21:15:56 +00:00
2012-07-26 17:05:52 +00:00
if os(linux) && flag(Dbus)
Build-Depends: dbus (>= 0.10.3)
CPP-Options: -DWITH_DBUS
if flag(Webapp)
Build-Depends: yesod, yesod-static, case-insensitive,
http-types, transformers, wai, wai-logger, warp, blaze-builder,
crypto-api, hamlet, clientsession, aeson, yesod-form,
template-haskell, yesod-default, data-default
CPP-Options: -DWITH_WEBAPP
if flag(Pairing)
2012-09-07 23:44:20 +00:00
Build-Depends: network-multicast, network-info
CPP-Options: -DWITH_PAIRING
2012-09-07 18:54:00 +00:00
if flag(XMPP)
2012-10-31 15:50:43 +00:00
Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types
CPP-Options: -DWITH_XMPP
if flag(DNS)
Build-Depends: dns
CPP-Options: -DWITH_DNS
source-repository head
type: git
location: git://git-annex.branchable.com/