2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-22 06:58:42 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Id3lib < Formula
|
2010-05-20 21:29:52 +00:00
|
|
|
homepage 'http://id3lib.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/id3lib/id3lib/3.8.3/id3lib-3.8.3.tar.gz'
|
2012-08-23 05:55:10 +00:00
|
|
|
sha1 'c92c880da41d1ec0b242745a901702ae87970838'
|
2010-05-20 21:29:52 +00:00
|
|
|
|
2014-01-16 08:42:00 +00:00
|
|
|
head "cvs://:pserver:anonymous:@id3lib.cvs.sourceforge.net:/cvsroot/id3lib:id3lib-devel"
|
2012-08-28 04:57:59 +00:00
|
|
|
|
2014-07-03 12:32:21 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "3706bca1a75d73ded2efeff8aedeaea25cea3cb7" => :mavericks
|
|
|
|
sha1 "9693062720327e9af5e73870a4dd954b5828c483" => :mountain_lion
|
|
|
|
sha1 "ba892268a2bdd9e713017272b819de2501aad602" => :lion
|
|
|
|
end
|
|
|
|
|
2013-10-22 22:53:55 +00:00
|
|
|
depends_on 'autoconf' => :build
|
|
|
|
depends_on 'automake' => :build
|
|
|
|
depends_on 'libtool' => :build
|
|
|
|
|
2014-03-17 02:35:19 +00:00
|
|
|
patch do
|
|
|
|
url "https://trac.macports.org/export/112431/trunk/dports/audio/id3lib/files/id3lib-vbr-overflow.patch"
|
|
|
|
sha1 "2fc0d348469980b30d7844dad63cac91ccd421c9"
|
|
|
|
end
|
|
|
|
|
|
|
|
patch do
|
|
|
|
url "https://trac.macports.org/export/90780/trunk/dports/audio/id3lib/files/id3lib-main.patch"
|
|
|
|
sha1 "8e52e21bd37fcd57bfaa8b1a8c11bf897d73a476"
|
|
|
|
end
|
|
|
|
|
|
|
|
patch do
|
|
|
|
url "https://trac.macports.org/export/112430/trunk/dports/audio/id3lib/files/no-iomanip.h.patch"
|
|
|
|
sha1 "d4d782608cf038fbd1adcf5d08324a9d1c49bc38"
|
|
|
|
end
|
|
|
|
|
|
|
|
patch do
|
|
|
|
url "https://trac.macports.org/export/112430/trunk/dports/audio/id3lib/files/automake.patch"
|
|
|
|
sha1 "86a83a2e993ccc2bb23a32837ec996d3a959a9a1"
|
|
|
|
end
|
|
|
|
|
|
|
|
patch do
|
|
|
|
url "https://trac.macports.org/export/112430/trunk/dports/audio/id3lib/files/boolcheck.patch"
|
|
|
|
sha1 "55a4db02c74825157ef5df62f10ed8c4173e7dc7"
|
2012-03-14 13:54:15 +00:00
|
|
|
end
|
2009-09-22 06:58:42 +00:00
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :llvm do
|
|
|
|
build 2326
|
|
|
|
cause "Segfault during linking"
|
|
|
|
end
|
2011-03-21 21:24:22 +00:00
|
|
|
|
2009-09-22 06:58:42 +00:00
|
|
|
def install
|
2013-10-22 22:53:55 +00:00
|
|
|
system "autoreconf -fi"
|
2012-08-28 04:57:59 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2009-09-22 06:58:42 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|