summaryrefslogtreecommitdiff
path: root/homebrew/yajl
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/yajl')
-rw-r--r--homebrew/yajl/.beer24
-rw-r--r--homebrew/yajl/.make.sh-auto5
-rw-r--r--homebrew/yajl/_metadata/description1
-rw-r--r--homebrew/yajl/_metadata/homepage1
-rw-r--r--homebrew/yajl/_metadata/name1
-rw-r--r--homebrew/yajl/_metadata/version1
-rwxr-xr-xhomebrew/yajl/download.sh1
7 files changed, 34 insertions, 0 deletions
diff --git a/homebrew/yajl/.beer b/homebrew/yajl/.beer
new file mode 100644
index 000000000..26f123cc6
--- /dev/null
+++ b/homebrew/yajl/.beer
@@ -0,0 +1,24 @@
+{
+ "name": "Yajl",
+ "description": "Yet Another JSON Library",
+ "url": "https://github.com/lloyd/yajl/archive/2.1.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://lloyd.github.io/yajl/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.deparallelize",
+ "system \"cmake\", \".\", *std_cmake_args",
+ "system \"make\", \"install\"",
+ "(include/\"yajl\").install Dir[\"src/api/*.h\"]"
+ ],
+ "version": "2.1.0",
+ "file": "yajl.rb"
+} \ No newline at end of file
diff --git a/homebrew/yajl/.make.sh-auto b/homebrew/yajl/.make.sh-auto
new file mode 100644
index 000000000..95c5aa6ed
--- /dev/null
+++ b/homebrew/yajl/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+ENV.deparallelize
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
+(include/"yajl").install Dir["src/api/*.h"]
diff --git a/homebrew/yajl/_metadata/description b/homebrew/yajl/_metadata/description
new file mode 100644
index 000000000..e3427056b
--- /dev/null
+++ b/homebrew/yajl/_metadata/description
@@ -0,0 +1 @@
+Yet Another JSON Library
diff --git a/homebrew/yajl/_metadata/homepage b/homebrew/yajl/_metadata/homepage
new file mode 100644
index 000000000..3893745cd
--- /dev/null
+++ b/homebrew/yajl/_metadata/homepage
@@ -0,0 +1 @@
+https://lloyd.github.io/yajl/
diff --git a/homebrew/yajl/_metadata/name b/homebrew/yajl/_metadata/name
new file mode 100644
index 000000000..735d3f984
--- /dev/null
+++ b/homebrew/yajl/_metadata/name
@@ -0,0 +1 @@
+Yajl
diff --git a/homebrew/yajl/_metadata/version b/homebrew/yajl/_metadata/version
new file mode 100644
index 000000000..7ec1d6db4
--- /dev/null
+++ b/homebrew/yajl/_metadata/version
@@ -0,0 +1 @@
+2.1.0
diff --git a/homebrew/yajl/download.sh b/homebrew/yajl/download.sh
new file mode 100755
index 000000000..3a62b7eb4
--- /dev/null
+++ b/homebrew/yajl/download.sh
@@ -0,0 +1 @@
+wget https://github.com/lloyd/yajl/archive/2.1.0.tar.gz \ No newline at end of file