summaryrefslogtreecommitdiff
path: root/homebrew/avroc
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/avroc')
-rw-r--r--homebrew/avroc/.beer39
-rw-r--r--homebrew/avroc/.make.sh-auto4
-rw-r--r--homebrew/avroc/_metadata/description1
-rw-r--r--homebrew/avroc/_metadata/homepage1
-rw-r--r--homebrew/avroc/_metadata/name1
-rw-r--r--homebrew/avroc/_metadata/version1
-rwxr-xr-xhomebrew/avroc/download.sh1
7 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/avroc/.beer b/homebrew/avroc/.beer
new file mode 100644
index 000000000..5695b3418
--- /dev/null
+++ b/homebrew/avroc/.beer
@@ -0,0 +1,39 @@
+{
+ "name": "AvroC",
+ "description": "Data serialization system",
+ "url": "https://www.apache.org/dyn/closer.cgi?path=avro/avro-1.8.2/c/avro-c-1.8.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://avro.apache.org/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "jansson",
+ "build-depend": false
+ },
+ {
+ "depend": "snappy",
+ "build-depend": false
+ },
+ {
+ "depend": "xz",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"cmake\", \".\", *std_cmake_args",
+ "system \"make\", \"install\"",
+ "pkgshare.install \"tests/test_avro_1087\""
+ ],
+ "version": "1.8.2",
+ "file": "avro-c.rb"
+} \ No newline at end of file
diff --git a/homebrew/avroc/.make.sh-auto b/homebrew/avroc/.make.sh-auto
new file mode 100644
index 000000000..706984e13
--- /dev/null
+++ b/homebrew/avroc/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
+pkgshare.install "tests/test_avro_1087"
diff --git a/homebrew/avroc/_metadata/description b/homebrew/avroc/_metadata/description
new file mode 100644
index 000000000..653e32dce
--- /dev/null
+++ b/homebrew/avroc/_metadata/description
@@ -0,0 +1 @@
+Data serialization system
diff --git a/homebrew/avroc/_metadata/homepage b/homebrew/avroc/_metadata/homepage
new file mode 100644
index 000000000..297a41731
--- /dev/null
+++ b/homebrew/avroc/_metadata/homepage
@@ -0,0 +1 @@
+https://avro.apache.org/
diff --git a/homebrew/avroc/_metadata/name b/homebrew/avroc/_metadata/name
new file mode 100644
index 000000000..611b5054e
--- /dev/null
+++ b/homebrew/avroc/_metadata/name
@@ -0,0 +1 @@
+AvroC
diff --git a/homebrew/avroc/_metadata/version b/homebrew/avroc/_metadata/version
new file mode 100644
index 000000000..53adb84c8
--- /dev/null
+++ b/homebrew/avroc/_metadata/version
@@ -0,0 +1 @@
+1.8.2
diff --git a/homebrew/avroc/download.sh b/homebrew/avroc/download.sh
new file mode 100755
index 000000000..c07f9fe32
--- /dev/null
+++ b/homebrew/avroc/download.sh
@@ -0,0 +1 @@
+wget https://www.apache.org/dyn/closer.cgi?path=avro/avro-1.8.2/c/avro-c-1.8.2.tar.gz \ No newline at end of file