summaryrefslogtreecommitdiff
path: root/homebrew/libcapn/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libcapn/.beer')
-rw-r--r--homebrew/libcapn/.beer40
1 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/libcapn/.beer b/homebrew/libcapn/.beer
new file mode 100644
index 000000000..f305598d0
--- /dev/null
+++ b/homebrew/libcapn/.beer
@@ -0,0 +1,40 @@
+{
+ "name": "Libcapn",
+ "description": "C library to send push notifications to Apple devices",
+ "url": "https://github.com/adobkin/libcapn/archive/v2.0.0.tar.gz",
+ "mirror": null,
+ "homepage": "http://libcapn.org/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "jansson",
+ "url": "https://github.com/akheron/jansson.git"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "if build.stable?",
+ "(buildpath/\"src/third_party/jansson\").install resource(\"jansson\")",
+ "end",
+ "system \"cmake\", \".\", \"-DOPENSSL_ROOT_DIR=#{Formula[\"openssl\"].opt_prefix}\",",
+ "*std_cmake_args",
+ "system \"make\", \"install\"",
+ "pkgshare.install \"examples\""
+ ],
+ "version": "2.0.0",
+ "file": "libcapn.rb"
+} \ No newline at end of file