homebrew-core/Formula/concurrencykit.rb

19 lines
549 B
Ruby
Raw Normal View History

require 'formula'
class Concurrencykit < Formula
homepage 'http://concurrencykit.org'
url 'http://concurrencykit.org/releases/ck-0.3.4.tar.gz'
sha1 'bf32af29ca174f068ed8772aed1647ab3d474264'
2012-06-12 04:05:47 +00:00
head 'git://git.concurrencykit.org/ck.git'
def install
system "./configure", "--prefix=#{prefix}"
2012-06-12 04:05:47 +00:00
system "make", "CC=#{ENV.cc}"
system "make install"
2014-01-04 14:10:06 +00:00
mv lib/"libck.so.#{version}", lib/"libck.#{version}.dylib"
ln_s "libck.#{version}.dylib", lib/"libck.0.dylib"
ln_s "libck.#{version}.dylib", lib/"libck.dylib"
end
end