Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
cdk 5.0.20140118
Browse files Browse the repository at this point in the history
Closes #26196.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
nox authored and MikeMcQuaid committed Jan 27, 2014
1 parent b95ba28 commit df2f3ca
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions Library/Formula/cdk.rb
Expand Up @@ -2,21 +2,12 @@

class Cdk < Formula
homepage 'http://invisible-island.net/cdk/'
url 'ftp://invisible-island.net/cdk/cdk-5.0-20120323.tgz'
version '5.0.20120323'
sha1 '014a32b1a2928bb0ab1917b7d15b9cdd1e23f33f'
url 'ftp://invisible-island.net/cdk/cdk-5.0-20140118.tgz'
version '5.0.20140118'
sha1 'd900e9e0d54a90701541d40ff7137507baf3b382'

def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
system "ranlib", "#{lib}/libcdk.a"
# Clean up generated header paths
inreplace "#{include}/cdk.h" do |s|
for obj in ["scale", "slider"]
for dt in ["", "u", "d", "f"]
s.sub! "#include <#{dt}#{obj}.h>", "#include <cdk/#{dt}#{obj}.h>"
end
end
end
end
end

0 comments on commit df2f3ca

Please sign in to comment.