diff options
author | 2012-06-12 00:53:35 -0700 | |
---|---|---|
committer | 2012-06-12 00:53:51 -0700 | |
commit | 72b0054931cd0d41477fa7270154cb53d8e94e4d (patch) | |
tree | cb31b8be4be3dd54def236be1c6d7ef9b1ffd868 /git-annex.cabal | |
parent | 9fe433390d3860bdb740c54b015889805578c992 (diff) |
Get ready for a simple git-annex.cabal.
I have a new idea: instead of the template-based approaches that work
around cabals requirement that you list all files to put in the sdist,
we can simply generate the sdist ourselves, with the files we
want. Take that cabal!
Diffstat (limited to 'git-annex.cabal')
-rwxr-xr-x | git-annex.cabal | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/git-annex.cabal b/git-annex.cabal new file mode 100755 index 000000000..5ff8155e9 --- /dev/null +++ b/git-annex.cabal @@ -0,0 +1,76 @@ +#!/bin/bash + +# Template for git-annex.cabal: the 'Other-Module:' fields are +# dynamically generated. + +cat <<EOF +Name: git-annex +Version: 3.20120605 +Cabal-Version: >= 1.8 +License: GPL +Maintainer: Joey Hess <joey@kitenet.net> +Author: Joey Hess +Stability: Stable +Copyright: 2010-2012 Joey Hess +License-File: GPL +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 + 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. +Extra-Source-Files: + git-annex.1 git-annex-shell.1 + INSTALL README CHANGELOG NEWS GPL COPYRIGHT + +Flag S3 + Description: Enable S3 support + +Executable git-annex + Main-Is: git-annex.hs + Build-Depends: MissingH, hslogger, directory, filepath, + unix, containers, utf8-string, network, mtl, bytestring, old-locale, time, + pcre-light, extensible-exceptions, dataenc, SHA, process, json, HTTP, + base == 4.5.*, monad-control, transformers-base, lifted-base, + IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance + Other-Modules: + Utility.Touch + -- Auto-generated list of all Haskell modules: +`./gen-other-modules.sh | xargs -n1 -i echo ' '{}` + C-Sources: Utility/libdiskfree.c + Extensions: CPP + + if flag(S3) + Build-Depends: hS3 + CPP-Options: -DWITH_S3 + +Test-Suite test + Type: exitcode-stdio-1.0 + Main-Is: test.hs + Build-Depends: testpack, HUnit, MissingH, hslogger, directory, filepath, + unix, containers, utf8-string, network, mtl, bytestring, old-locale, time, + pcre-light, extensible-exceptions, dataenc, SHA, process, json, HTTP, + base == 4.5.*, monad-control, transformers-base, lifted-base, + IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance + C-Sources: Utility/libdiskfree.c + Other-Modules: + Utility.Touch + -- Auto-generated list of all Haskell modules: +`./gen-other-modules.sh | xargs -n1 -i echo ' '{}` + Extensions: CPP + +source-repository head + type: git + location: git://git-annex.branchable.com/ +EOF |