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/'
|
2012-08-28 04:57:59 +00:00
|
|
|
url 'http://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
|
|
|
|
2013-10-22 22:53:55 +00:00
|
|
|
depends_on 'autoconf' => :build
|
|
|
|
depends_on 'automake' => :build
|
|
|
|
depends_on 'libtool' => :build
|
|
|
|
|
2010-05-20 21:29:52 +00:00
|
|
|
def patches
|
2012-03-14 13:54:15 +00:00
|
|
|
p = []
|
2013-10-22 22:53:55 +00:00
|
|
|
p << "https://trac.macports.org/export/112431/trunk/dports/audio/id3lib/files/id3lib-vbr-overflow.patch"
|
2012-03-14 13:54:15 +00:00
|
|
|
p << "https://trac.macports.org/export/90780/trunk/dports/audio/id3lib/files/id3lib-main.patch"
|
2013-10-22 22:53:55 +00:00
|
|
|
p << "https://trac.macports.org/export/112430/trunk/dports/audio/id3lib/files/no-iomanip.h.patch"
|
|
|
|
p << "https://trac.macports.org/export/112430/trunk/dports/audio/id3lib/files/automake.patch"
|
|
|
|
p << "https://trac.macports.org/export/112430/trunk/dports/audio/id3lib/files/boolcheck.patch"
|
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
|