summaryrefslogtreecommitdiff
path: root/homebrew/beansdb
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/beansdb')
-rw-r--r--homebrew/beansdb/.beer30
-rw-r--r--homebrew/beansdb/.make.sh-auto7
-rw-r--r--homebrew/beansdb/_metadata/description1
-rw-r--r--homebrew/beansdb/_metadata/homepage1
-rw-r--r--homebrew/beansdb/_metadata/name1
-rw-r--r--homebrew/beansdb/_metadata/version1
-rwxr-xr-xhomebrew/beansdb/download.sh1
7 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/beansdb/.beer b/homebrew/beansdb/.beer
new file mode 100644
index 000000000..2a94399d9
--- /dev/null
+++ b/homebrew/beansdb/.beer
@@ -0,0 +1,30 @@
+{
+ "name": "Beansdb",
+ "description": "Yet another distributed key-value storage system",
+ "url": "https://github.com/douban/beansdb/archive/v0.7.1.4.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/douban/beansdb",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./autogen.sh\"",
+ "system \"./configure\", \"--disable-dependency-tracking\", \"--prefix=#{prefix}\"",
+ "system \"make\"",
+ "system \"make\", \"install\"",
+ "(var/\"db/beansdb\").mkpath",
+ "(var/\"log\").mkpath"
+ ],
+ "version": "0.7.1.4",
+ "file": "beansdb.rb"
+} \ No newline at end of file
diff --git a/homebrew/beansdb/.make.sh-auto b/homebrew/beansdb/.make.sh-auto
new file mode 100644
index 000000000..e14926ff4
--- /dev/null
+++ b/homebrew/beansdb/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+./autogen.sh
+pkg:configure --disable-dependency-tracking
+make
+make DESTDIR=${PKG_DEST} install
+(var/"db/beansdb").mkpath
+(var/"log").mkpath
diff --git a/homebrew/beansdb/_metadata/description b/homebrew/beansdb/_metadata/description
new file mode 100644
index 000000000..dd952ba7b
--- /dev/null
+++ b/homebrew/beansdb/_metadata/description
@@ -0,0 +1 @@
+Yet another distributed key-value storage system
diff --git a/homebrew/beansdb/_metadata/homepage b/homebrew/beansdb/_metadata/homepage
new file mode 100644
index 000000000..b434e626c
--- /dev/null
+++ b/homebrew/beansdb/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/douban/beansdb
diff --git a/homebrew/beansdb/_metadata/name b/homebrew/beansdb/_metadata/name
new file mode 100644
index 000000000..c95b37e5f
--- /dev/null
+++ b/homebrew/beansdb/_metadata/name
@@ -0,0 +1 @@
+Beansdb
diff --git a/homebrew/beansdb/_metadata/version b/homebrew/beansdb/_metadata/version
new file mode 100644
index 000000000..78f3e52a7
--- /dev/null
+++ b/homebrew/beansdb/_metadata/version
@@ -0,0 +1 @@
+0.7.1.4
diff --git a/homebrew/beansdb/download.sh b/homebrew/beansdb/download.sh
new file mode 100755
index 000000000..5a8dcf315
--- /dev/null
+++ b/homebrew/beansdb/download.sh
@@ -0,0 +1 @@
+wget https://github.com/douban/beansdb/archive/v0.7.1.4.tar.gz \ No newline at end of file