homebrew-core/Formula/id3lib.rb

35 lines
1.2 KiB
Ruby
Raw Normal View History

require 'formula'
2009-09-22 06:58:42 +00:00
2011-03-10 05:11:03 +00:00
class Id3lib < Formula
homepage 'http://id3lib.sourceforge.net/'
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'
head "cvs://:pserver:anonymous:@id3lib.cvs.sourceforge.net:/cvsroot/id3lib:id3lib-devel"
2012-08-28 04:57:59 +00:00
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'libtool' => :build
def patches
p = []
p << "https://trac.macports.org/export/112431/trunk/dports/audio/id3lib/files/id3lib-vbr-overflow.patch"
p << "https://trac.macports.org/export/90780/trunk/dports/audio/id3lib/files/id3lib-main.patch"
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"
end
2009-09-22 06:58:42 +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
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