summaryrefslogtreecommitdiff
path: root/homebrew/density
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/density')
-rw-r--r--homebrew/density/.beer31
-rw-r--r--homebrew/density/.make.sh-auto8
-rw-r--r--homebrew/density/_metadata/description1
-rw-r--r--homebrew/density/_metadata/homepage1
-rw-r--r--homebrew/density/_metadata/name1
-rw-r--r--homebrew/density/_metadata/version1
-rwxr-xr-xhomebrew/density/download.sh1
7 files changed, 44 insertions, 0 deletions
diff --git a/homebrew/density/.beer b/homebrew/density/.beer
new file mode 100644
index 000000000..caac96204
--- /dev/null
+++ b/homebrew/density/.beer
@@ -0,0 +1,31 @@
+{
+ "name": "Density",
+ "description": "Superfast compression library",
+ "url": "https://github.com/centaurean/density/archive/density-0.14.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/centaurean/density",
+ "depends": [],
+ "resource": [
+ {
+ "name": "cputime",
+ "url": "https://github.com/centaurean/cputime.git"
+ },
+ {
+ "name": "spookyhash",
+ "url": "https://github.com/centaurean/spookyhash/archive/spookyhash-1.0.6.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "(buildpath/\"benchmark/libs/cputime\").install resource(\"cputime\")",
+ "(buildpath/\"benchmark/libs/spookyhash\").install resource(\"spookyhash\")",
+ "system \"make\"",
+ "include.install \"src/density_api.h\"",
+ "pkgshare.install \"build/benchmark\"",
+ "lib.install \"build/libdensity.a\"",
+ "lib.install \"build/libdensity.dylib\""
+ ],
+ "version": "0.14.2",
+ "file": "density.rb"
+} \ No newline at end of file
diff --git a/homebrew/density/.make.sh-auto b/homebrew/density/.make.sh-auto
new file mode 100644
index 000000000..85750a184
--- /dev/null
+++ b/homebrew/density/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+(buildpath/"benchmark/libs/cputime").install resource("cputime")
+(buildpath/"benchmark/libs/spookyhash").install resource("spookyhash")
+make
+include.install "src/density_api.h"
+pkgshare.install "build/benchmark"
+lib.install "build/libdensity.a"
+lib.install "build/libdensity.dylib"
diff --git a/homebrew/density/_metadata/description b/homebrew/density/_metadata/description
new file mode 100644
index 000000000..2642f7200
--- /dev/null
+++ b/homebrew/density/_metadata/description
@@ -0,0 +1 @@
+Superfast compression library
diff --git a/homebrew/density/_metadata/homepage b/homebrew/density/_metadata/homepage
new file mode 100644
index 000000000..d9ff3c4f4
--- /dev/null
+++ b/homebrew/density/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/centaurean/density
diff --git a/homebrew/density/_metadata/name b/homebrew/density/_metadata/name
new file mode 100644
index 000000000..e8d203640
--- /dev/null
+++ b/homebrew/density/_metadata/name
@@ -0,0 +1 @@
+Density
diff --git a/homebrew/density/_metadata/version b/homebrew/density/_metadata/version
new file mode 100644
index 000000000..e867cc2a6
--- /dev/null
+++ b/homebrew/density/_metadata/version
@@ -0,0 +1 @@
+0.14.2
diff --git a/homebrew/density/download.sh b/homebrew/density/download.sh
new file mode 100755
index 000000000..83bb71aa2
--- /dev/null
+++ b/homebrew/density/download.sh
@@ -0,0 +1 @@
+wget https://github.com/centaurean/density/archive/density-0.14.2.tar.gz \ No newline at end of file