aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorRaph Cohn2015-02-07 11:08:47 +0530
committerJack Nagel2015-02-12 22:35:25 -0500
commit7d7762640522a0de0d4a8aac86c81b14fa7b0c20 (patch)
treebd3f11f7bdc21a1fbd5007b980fb44a505079226 /Library/Formula
parent5299ade310aaebad2d7c40f1e779ad2d0a03ecbe (diff)
downloadhomebrew-7d7762640522a0de0d4a8aac86c81b14fa7b0c20.tar.bz2
libwebsockets 1.3
Closes #36617. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libwebsockets.rb15
1 files changed, 6 insertions, 9 deletions
diff --git a/Library/Formula/libwebsockets.rb b/Library/Formula/libwebsockets.rb
index bf872526f..48d24c3a3 100644
--- a/Library/Formula/libwebsockets.rb
+++ b/Library/Formula/libwebsockets.rb
@@ -2,11 +2,13 @@ require 'formula'
class Libwebsockets < Formula
homepage 'http://libwebsockets.org'
- url 'http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-1.23-chrome32-firefox24.tar.gz'
- version '1.23'
- sha1 '9dda683a342b16feb1cef183f89f9ed4474626f5'
+ url 'http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-1.3-chrome37-firefox30.tar.gz'
+ version '1.3'
+ sha1 'ee1005165346d2217db4a9c40c4711f741213557'
head 'git://git.libwebsockets.org/libwebsockets'
+ depends_on "openssl"
+
bottle do
cellar :any
revision 1
@@ -20,11 +22,6 @@ class Libwebsockets < Formula
def install
system "cmake", ".", *std_cmake_args
system "make"
-
- # The `make install` target doesn't work so here's what I think
- # should be installed:
- lib.install 'lib/libwebsockets.dylib'
- (lib+'pkgconfig').install 'libwebsockets.pc'
- include.install 'lib/libwebsockets.h'
+ system "make", "install"
end
end