aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/standalone-build
blob: 7a25313b6f57110d6f940cac5f7e24efaab4df28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
From: Yaroslav Halchenko <debian@onerussian.com>
Subject: Patch debian/ to provide a standalone build of git-annex

Origin: NeuroDebian
Last-Update: 2015-04-20

--- a/debian/control
+++ b/debian/control
@@ -85,6 +85,7 @@ Build-Depends:
 	rsync,
 	wget,
 	curl,
+	locales,
 	openssh-client,
 	git-remote-gcrypt (>= 0.20130908-6),
 	chrpath,
@@ -96,15 +97,14 @@ Vcs-Git: git://git.kitenet.net/git-annex
 Homepage: http://git-annex.branchable.com/
 XS-Testsuite: autopkgtest
 
-Package: git-annex
+Package: git-annex-standalone
 Architecture: any
 Section: utils
-Depends: ${misc:Depends}, ${shlibs:Depends},
-	git (>= 1:1.8.1),
-	rsync,
-	wget,
-	curl,
-	openssh-client (>= 1:5.6p1)
+Conflicts: git-annex
+Provides: git-annex
+Depends: ${misc:Depends},
+	git,
+	openssh-client
 Recommends: 
 	lsof,
 	gnupg,
@@ -122,7 +122,7 @@ Suggests:
 	libnss-mdns,
 	uftp,
 Breaks: datalad (< 0.9.1)
-Description: manage files with git, without checking their contents into git
+Description: manage files with git, without checking their contents into git -- standalone build
  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
@@ -140,3 +140,7 @@ Description: manage files with git, with
  noticing when files are changed, and automatically committing them
  to git and transferring them to other computers. The git-annex webapp
  makes it easy to set up and use git-annex this way.
+ .
+ This package provides a standalone bundle build of git-annex, which
+ should be installable on any more or less recent Debian or Ubuntu
+ release.
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+tmp/git-annex.linux usr/lib
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,2 @@
+/usr/lib/git-annex.linux/git-annex /usr/bin/git-annex
+/usr/lib/git-annex.linux/git-annex-shell /usr/bin/git-annex-shell