blob: e36812d39a2a01ac7d40abce7dbaeb117e9c07d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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.0", lib/"libck.0.dylib"
mv lib/"libck.so.#{version}", lib/"libck.#{version}.dylib"
end
end
|