Skip to content

Commit

Permalink
groonga 2.0.4
Browse files Browse the repository at this point in the history
Closes Homebrew#13153.

Signed-off-by: Adam Vandenberg <[email protected]>
  • Loading branch information
darashi authored and adamv committed Jul 7, 2012
1 parent af30729 commit 409e6a8
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions Library/Formula/groonga.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,35 @@

class Groonga < Formula
homepage 'http://groonga.org/'
url 'http://packages.groonga.org/source/groonga/groonga-2.0.3.tar.gz'
sha1 'a9dffb17bf722f12c45c43d56243d8c72a31f8c8'
url 'http://packages.groonga.org/source/groonga/groonga-2.0.4.tar.gz'
sha1 '1000fd087a382da7e7e5f8679fbaa3b61b3e954e'

depends_on 'msgpack'

# Patches are upstream and should be removed in the next release. See:
# https://github.com/groonga/groonga/commit/690db3c1610cba7c8e4225a64ded72a1fe90053a
# https://github.com/groonga/groonga/commit/26ec2251c28dda151c66f4a530f2330d009edb32
def patches
DATA
end

def install
system "./configure", "--prefix=#{prefix}", "--with-zlib"
system "make install"
end
end

__END__
diff --git a/src/nginx-module/config b/src/nginx-module/config
index a25a377..7eafdf7 100644
--- a/src/nginx-module/config
+++ b/src/nginx-module/config
@@ -6,7 +6,7 @@ groonga_strip_switch()

if [ "$GROONGA_HTTPD_IN_TREE" = yes ]; then
groonga_cflags="${GROONGA_HTTPD_CFLAGS} -I ${GROONGA_HTTPD_IN_TREE_INCLUDE_PATH}"
- groonga_libs="-L ${GROONGA_HTTPD_IN_TREE_LINK_PATH} ${GROONGA_HTTPD_LIBS} -Wl,-rpath=${GROONGA_HTTPD_RPATH}"
+ groonga_libs="-L${GROONGA_HTTPD_IN_TREE_LINK_PATH} ${GROONGA_HTTPD_LIBS} -Wl,-rpath -Wl,${GROONGA_HTTPD_RPATH}"

ngx_addon_name=ngx_http_groonga_module
HTTP_MODULES="$HTTP_MODULES ngx_http_groonga_module"

0 comments on commit 409e6a8

Please sign in to comment.