homebrew-core/Formula/concurrencykit.rb
Stefan 4c7ed4b86e concurrencykit: fix lib symlink
Closes Homebrew/homebrew#25942.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-16 10:01:05 +00:00

18 lines
549 B
Ruby

require 'formula'
class Concurrencykit < Formula
homepage 'http://concurrencykit.org'
url 'http://concurrencykit.org/releases/ck-0.3.4.tar.gz'
sha1 'bf32af29ca174f068ed8772aed1647ab3d474264'
head 'git://git.concurrencykit.org/ck.git'
def install
system "./configure", "--prefix=#{prefix}"
system "make", "CC=#{ENV.cc}"
system "make install"
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