aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/taglib.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/taglib.rb b/Library/Formula/taglib.rb
index 2811decec..06f022255 100644
--- a/Library/Formula/taglib.rb
+++ b/Library/Formula/taglib.rb
@@ -1,5 +1,10 @@
require 'brewkit'
+class TaglibExtras <UnidentifiedFormula
+ @url='http://kollide.net/~jefferai/taglib-extras-0.1.6.tar.gz'
+ @md5='706a82fe4c25606f731faf4c14b5edb0'
+end
+
class Taglib <Formula
@url='http://developer.kde.org/~wheeler/files/src/taglib-1.5.tar.gz'
@md5='7b557dde7425c6deb7bbedd65b4f2717'
@@ -8,5 +13,10 @@ class Taglib <Formula
def install
system "./configure --disable-debug --prefix='#{prefix}'"
system "make install"
+
+ TaglibExtras.new.brew do |f|
+ system "cmake . #{std_cmake_parameters}"
+ system "make install"
+ end unless ARGV.include? '--no-extras'
end
end \ No newline at end of file