summaryrefslogtreecommitdiff
path: root/homebrew/rdiffbackup
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/rdiffbackup')
-rw-r--r--homebrew/rdiffbackup/.beer31
-rw-r--r--homebrew/rdiffbackup/.make.sh-auto7
-rw-r--r--homebrew/rdiffbackup/_metadata/description1
-rw-r--r--homebrew/rdiffbackup/_metadata/homepage1
-rw-r--r--homebrew/rdiffbackup/_metadata/name1
-rw-r--r--homebrew/rdiffbackup/_metadata/version1
-rwxr-xr-xhomebrew/rdiffbackup/download.sh1
-rwxr-xr-xhomebrew/rdiffbackup/patches.sh1
8 files changed, 44 insertions, 0 deletions
diff --git a/homebrew/rdiffbackup/.beer b/homebrew/rdiffbackup/.beer
new file mode 100644
index 000000000..67ce3d313
--- /dev/null
+++ b/homebrew/rdiffbackup/.beer
@@ -0,0 +1,31 @@
+{
+ "name": "RdiffBackup",
+ "description": "Backs up one directory to another--also works over networks",
+ "url": "https://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.2.8.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.nongnu.org/rdiff-backup/",
+ "depends": [
+ {
+ "depend": "librsync",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://git.archlinux.org/svntogit/community.git/plain/trunk/rdiff-backup-1.2.8-librsync-1.0.0.patch?h=packages/rdiff-backup",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "ENV[\"ARCHFLAGS\"] = \"-arch x86_64 -arch i386\"",
+ "system \"python\", \"setup.py\", \"--librsync-dir=#{prefix}\", \"build\"",
+ "libexec.install Dir[\"build/lib.macosx*/rdiff_backup\"]",
+ "libexec.install Dir[\"build/scripts-*/*\"]",
+ "man1.install Dir[\"*.1\"]",
+ "bin.install_symlink Dir[\"#{libexec}/rdiff-backup*\"]"
+ ],
+ "version": "1.2.8",
+ "file": "rdiff-backup.rb"
+} \ No newline at end of file
diff --git a/homebrew/rdiffbackup/.make.sh-auto b/homebrew/rdiffbackup/.make.sh-auto
new file mode 100644
index 000000000..b3464e540
--- /dev/null
+++ b/homebrew/rdiffbackup/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV["ARCHFLAGS"] = "-arch x86_64 -arch i386"
+python setup.py --librsync-dir=${PKG_TAPF} build
+libexec.install Dir["build/lib.macosx*/rdiff_backup"]
+libexec.install Dir["build/scripts-*/*"]
+man1.install Dir["*.1"]
+bin.install_symlink Dir["#{libexec}/rdiff-backup*"]
diff --git a/homebrew/rdiffbackup/_metadata/description b/homebrew/rdiffbackup/_metadata/description
new file mode 100644
index 000000000..88ce23fe2
--- /dev/null
+++ b/homebrew/rdiffbackup/_metadata/description
@@ -0,0 +1 @@
+Backs up one directory to another--also works over networks
diff --git a/homebrew/rdiffbackup/_metadata/homepage b/homebrew/rdiffbackup/_metadata/homepage
new file mode 100644
index 000000000..112bfc9e3
--- /dev/null
+++ b/homebrew/rdiffbackup/_metadata/homepage
@@ -0,0 +1 @@
+https://www.nongnu.org/rdiff-backup/
diff --git a/homebrew/rdiffbackup/_metadata/name b/homebrew/rdiffbackup/_metadata/name
new file mode 100644
index 000000000..fe97cbe4f
--- /dev/null
+++ b/homebrew/rdiffbackup/_metadata/name
@@ -0,0 +1 @@
+RdiffBackup
diff --git a/homebrew/rdiffbackup/_metadata/version b/homebrew/rdiffbackup/_metadata/version
new file mode 100644
index 000000000..db6fb4a91
--- /dev/null
+++ b/homebrew/rdiffbackup/_metadata/version
@@ -0,0 +1 @@
+1.2.8
diff --git a/homebrew/rdiffbackup/download.sh b/homebrew/rdiffbackup/download.sh
new file mode 100755
index 000000000..d75cd7af8
--- /dev/null
+++ b/homebrew/rdiffbackup/download.sh
@@ -0,0 +1 @@
+wget https://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.2.8.tar.gz \ No newline at end of file
diff --git a/homebrew/rdiffbackup/patches.sh b/homebrew/rdiffbackup/patches.sh
new file mode 100755
index 000000000..bf3bc9458
--- /dev/null
+++ b/homebrew/rdiffbackup/patches.sh
@@ -0,0 +1 @@
+wget https://git.archlinux.org/svntogit/community.git/plain/trunk/rdiff-backup-1.2.8-librsync-1.0.0.patch?h=packages/rdiff-backup