libspotify 11.1.60
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
709fe85d2a
commit
1f3cd869ea
1 changed files with 7 additions and 7 deletions
|
@ -2,21 +2,21 @@ require 'formula'
|
|||
|
||||
class Libspotify < Formula
|
||||
homepage 'http://developer.spotify.com/en/libspotify/overview/'
|
||||
url "http://developer.spotify.com/download/libspotify/libspotify-11.1.56-Darwin-universal.zip"
|
||||
md5 '6d699c2fade3d7af364d4f2626285bac'
|
||||
url "http://developer.spotify.com/download/libspotify/libspotify-11.1.60-Darwin-universal.zip"
|
||||
md5 '655e5648a6b2132df770270257a4c47c'
|
||||
|
||||
def install
|
||||
(include+'libspotify').install "libspotify.framework/Versions/11.1.56/Headers/api.h"
|
||||
lib.install "libspotify.framework/Versions/11.1.56/libspotify" => "libspotify.11.1.56.dylib"
|
||||
(include+'libspotify').install "libspotify.framework/Versions/11.1.60/Headers/api.h"
|
||||
lib.install "libspotify.framework/Versions/11.1.60/libspotify" => "libspotify.11.1.60.dylib"
|
||||
doc.install Dir['docs/*']
|
||||
man3.install Dir['man3/*']
|
||||
|
||||
cd lib
|
||||
ln_s "libspotify.11.1.56.dylib", "libspotify.dylib"
|
||||
ln_s "libspotify.11.1.56.dylib", "libspotify.11.dylib"
|
||||
ln_s "libspotify.11.1.60.dylib", "libspotify.dylib"
|
||||
ln_s "libspotify.11.1.60.dylib", "libspotify.11.dylib"
|
||||
|
||||
system "install_name_tool", "-id",
|
||||
"#{HOMEBREW_PREFIX}/lib/libspotify.11.1.56.dylib",
|
||||
"#{HOMEBREW_PREFIX}/lib/libspotify.11.1.60.dylib",
|
||||
"libspotify.dylib"
|
||||
|
||||
(lib+'pkgconfig/libspotify.pc').write pc_content
|
||||
|
|
Loading…
Reference in a new issue