GitHub PullRequestReviewCommentEvent at 2014-03-19 11:48:58
Repository: homebrew
Actor: gijzelaerr
Payload: {"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/10745476","id":10745476,"diff_hunk":"@@ -0,0 +1,20 @@\n+require \"formula\"\n+\n+class Snap7 < Formula\n+  homepage \"http://snap7.sourceforge.net/\"\n+  url \"https://downloads.sourceforge.net/project/snap7/1.2.0/snap7-full-1.2.0.tar.gz\"\n+  sha1 \"49e64997345dfcbb68cecee3e0bc098d96a96407\"\n+\n+  def install\n+    archstr  = Hardware.is_64_bit? ? \"x86_64\" : \"i386\"\n+\n+    Dir.chdir \"build/osx\" do\n+      system \"make\", \"-f\", \"#{archstr}_osx.mk\", \"all\"\n+    end\n+\n+    mv \"build/bin/#{archstr}-osx/libsnap7.so\", \"build/bin/#{archstr}-osx/libsnap7.dylib\"\n+    include.install \"release/Wrappers/c-cpp/snap7.h\"\n+    lib.install \"build/bin/#{archstr}-osx/libsnap7.dylib\"","path":"Library/Formula/snap7.rb","position":17,"original_position":17,"commit_id":"d88176f4557701fe30b850408725476e7ff5a65a","original_commit_id":"d88176f4557701fe30b850408725476e7ff5a65a","user":{"login":"gijzelaerr","id":326308,"avatar_url":"https://avatars.githubusercontent.com/u/326308?","gravatar_id":"86cbde741dca471e4e8fffa25b758b43","url":"https://api.github.com/users/gijzelaerr","html_url":"https://github.com/gijzelaerr","followers_url":"https://api.github.com/users/gijzelaerr/followers","following_url":"https://api.github.com/users/gijzelaerr/following{/other_user}","gists_url":"https://api.github.com/users/gijzelaerr/gists{/gist_id}","starred_url":"https://api.github.com/users/gijzelaerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gijzelaerr/subscriptions","organizations_url":"https://api.github.com/users/gijzelaerr/orgs","repos_url":"https://api.github.com/users/gijzelaerr/repos","events_url":"https://api.github.com/users/gijzelaerr/events{/privacy}","received_events_url":"https://api.github.com/users/gijzelaerr/received_events","type":"User","site_admin":false},"body":"i think that would be a good solution when a new release is made, can we just do the \r\n`lib.install \"build/bin/#{archstr}-osx/libsnap7.so\" => \"libsnap7.dylib\"` for now?","created_at":"2014-03-19T11:48:58Z","updated_at":"2014-03-19T11:48:58Z","html_url":"https://github.com/Homebrew/homebrew/pull/27690#discussion_r10745476","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/27690","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/10745476"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/27690#discussion_r10745476"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/27690"}}}}