2010-08-15 17:19:28 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class CdDiscid < Formula
|
2010-08-15 17:19:28 +00:00
|
|
|
homepage 'http://linukz.org/cd-discid.shtml'
|
2013-01-27 02:09:27 +00:00
|
|
|
url 'http://linukz.org/download/cd-discid-1.1.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '74cedeb2c5bf4f3248af249c0ff344ea9d713d1a'
|
2010-08-15 17:19:28 +00:00
|
|
|
|
|
|
|
def patches
|
2010-10-21 14:54:17 +00:00
|
|
|
{ :p0 =>
|
2012-01-23 01:09:28 +00:00
|
|
|
"https://trac.macports.org/export/70630/trunk/dports/audio/cd-discid/files/patch-cd-discid.c.diff"
|
2010-10-21 14:54:17 +00:00
|
|
|
}
|
2010-08-15 17:19:28 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
2012-05-15 18:31:21 +00:00
|
|
|
system "make", "prefix=#{prefix}",
|
|
|
|
"CC=#{ENV.cc}",
|
|
|
|
"CFLAGS=#{ENV.cflags}",
|
|
|
|
"install"
|
2010-08-15 17:19:28 +00:00
|
|
|
end
|
|
|
|
end
|