Permalink
Browse files

Add ebuild for git-annex

  • Loading branch information...
1 parent d6e9312 commit e800a1d110be323c27a2f463e10dd90a06ef30da @luukko committed Sep 21, 2011
View
6 README
@@ -38,3 +38,9 @@ Python package for interpreting METAR and SPECI weather reports.
A patched version of the popular vector graphics program. The patch removes the
annoying memory cap in pixbuf. With this patch you can now render big raster images
with Inkscape if you have enough memory.
+
+
+* dev-vcs/git-annex
+
+git-annex allows managing files with git, without checking the file contents into git.
+Please note that you'll need the haskell overlay to fulfill the dependencies.
@@ -0,0 +1,2 @@
+AUX git-annex-no-docs.patch 813 RMD160 63708fb9f62bef2465263ace42683fd086d6278a SHA1 7c31deee6f50d52863f9574baf64bf11a19ec685 SHA256 4e5b4e68f11961957e10ac8cac2ea9f4556b7b9001c2a288148e17fc7fd0e320
+EBUILD git-annex-3.20110915.ebuild 1072 RMD160 c75e0d54d98b042c369f4f74f7e09966bef33d68 SHA1 a87cac4af5ada39c0877b2db61981524096e9051 SHA256 cacac7d2c4c56da4b67fe6638deff66253d65fa3f670b020450541b6ca2c7cf2
@@ -0,0 +1,24 @@
+diff --git a/Makefile b/Makefile
+index ff58362..8d74a62 100644
+--- a/Makefile
++++ b/Makefile
+@@ -10,7 +10,7 @@ bins=git-annex git-annex-shell git-union-merge
+ mans=git-annex.1 git-annex-shell.1 git-union-merge.1
+ sources=Build/SysConfig.hs Utility/StatFS.hs Utility/Touch.hs Remote/S3.hs
+
+-all: $(bins) $(mans) docs
++all: $(bins) $(mans)
+
+ Build/SysConfig.hs: configure.hs Build/TestConfig.hs
+ $(GHCMAKE) configure
+@@ -46,10 +46,6 @@ install: all
+ install $(bins) $(DESTDIR)$(PREFIX)/bin
+ install -d $(DESTDIR)$(PREFIX)/share/man/man1
+ install -m 0644 $(mans) $(DESTDIR)$(PREFIX)/share/man/man1
+- install -d $(DESTDIR)$(PREFIX)/share/doc/git-annex
+- if [ -d html ]; then \
+- rsync -a --delete html/ $(DESTDIR)$(PREFIX)/share/doc/git-annex/html/; \
+- fi
+
+ test: $(bins)
+ @if ! $(GHCMAKE) -O0 test; then \
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+EGIT_REPO_URI="git://git-annex.branchable.com/
+ git://git.kitenet.net/git-annex
+ git://github.com/joeyh/git-annex.git"
+EGIT_COMMIT="${PV}"
+
+inherit eutils git-2
+
+DESCRIPTION="Manage files with git, without checking their contents into git"
+HOMEPAGE="http://git-annex.branchable.com"
+SRC_URI=""
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="crypt s3 test doc"
+
+DEPEND=">=dev-haskell/haskell-platform-2010
+ dev-haskell/missingh
+ dev-haskell/pcre-light
+ dev-haskell/sha
+ dev-haskell/utf8-string
+ dev-haskell/dataenc
+ dev-haskell/monad-control
+ dev-haskell/testpack
+ s3? ( dev-haskell/hs3 )
+ dev-haskell/json
+ doc? ( www-apps/ikiwiki )
+ dev-vcs/git
+ || ( sys-apps/util-linux dev-libs/ossp-uuid )
+ || ( net-misc/curl net-misc/wget )
+ net-misc/rsync
+ crypt? ( app-crypt/gnupg )"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ use doc || epatch "${FILESDIR}/${PN}-no-docs.patch"
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+ dodoc CHANGELOG
+}

0 comments on commit e800a1d

Please sign in to comment.