Last active
December 21, 2015 15:49
-
-
Save clemensg/6329084 to your computer and use it in GitHub Desktop.
Mavericks guessing game
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'formula' | |
| class Libmemcached < Formula | |
| homepage 'http://libmemcached.org' | |
| url 'https://launchpad.net/libmemcached/1.0/1.0.17/+download/libmemcached-1.0.17.tar.gz' | |
| sha1 '1023bc8c738b1f5b8ea2cd16d709ec6b47c3efa8' | |
| depends_on 'memcached' | |
| # Disable superenv | |
| env :std | |
| def install | |
| ENV.append_to_cflags "-undefined dynamic_lookup" if MacOS.version <= :leopard | |
| ENV.append 'CPPFLAGS', "-I#{MacOS.sdk_path}/usr/include/c++/4.2.1" if MacOS.version > :mountain_lion | |
| system "./configure", "--prefix=#{prefix}" | |
| system "make install" | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment