NF: debian/patches/*standalone-build for providing a standalone build of git-annex
This commit is contained in:
parent
b7be1680a7
commit
38e03d5b3a
2 changed files with 76 additions and 0 deletions
1
debian/patches/series.standalone-build
vendored
Normal file
1
debian/patches/series.standalone-build
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
standalone-build
|
75
debian/patches/standalone-build
vendored
Normal file
75
debian/patches/standalone-build
vendored
Normal file
|
@ -0,0 +1,75 @@
|
|||
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
|
||||
@@ -87,11 +87,13 @@ 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),
|
||||
+Conflicts: git-annex
|
||||
+Provides: git-annex
|
||||
+Depends: ${misc:Depends},
|
||||
+ git,
|
||||
rsync,
|
||||
wget,
|
||||
curl,
|
||||
@@ -110,7 +112,7 @@ Suggests:
|
||||
bup,
|
||||
tahoe-lafs,
|
||||
libnss-mdns,
|
||||
-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
|
||||
@@ -128,3 +130,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 @@
|
||||
+/usr/lib/git-annex.linux/git-annex /usr/bin/git-annex
|
||||
--- /dev/null
|
||||
+++ b/debian/manpages
|
||||
@@ -0,0 +1 @@
|
||||
+debian/git-annex-standalone/usr/lib/git-annex.linux/usr/share/man/man1/git-annex*
|
||||
--- a/debian/rules
|
||||
+++ b/debian/rules
|
||||
@@ -3,7 +3,17 @@
|
||||
export CABAL=debian/cabal-wrapper
|
||||
|
||||
# Do use the changelog's version number, rather than making one up.
|
||||
-export RELEASE_BUILD=1
|
||||
+export RELEASE_BUILD=0
|
||||
|
||||
%:
|
||||
dh $@
|
||||
+
|
||||
+override_dh_auto_build:
|
||||
+ make linuxstandalone
|
||||
+
|
||||
+override_dh_auto_install:
|
||||
+ : # nothing to do, we just need to copy the beast, as instructed in debian/install
|
||||
+
|
||||
+override_dh_fixperms:
|
||||
+ dh_fixperms -Xld-linux
|
||||
+
|
Loading…
Add table
Reference in a new issue