Install taglib-extras with Taglib

master
Max Howell 2009-08-06 19:41:08 +01:00
parent 6a1082617e
commit 907d9779ba
1 changed files with 10 additions and 0 deletions

View File

@ -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