Update libspotify to version 0.0.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
114ac2130b
commit
140188e358
1 changed files with 7 additions and 7 deletions
|
@ -1,22 +1,22 @@
|
|||
require 'formula'
|
||||
|
||||
class Libspotify < Formula
|
||||
url "http://developer.spotify.com/download/libspotify/libspotify-0.0.7-Darwin.zip"
|
||||
version '0.0.7'
|
||||
url "http://developer.spotify.com/download/libspotify/libspotify-0.0.8-Darwin.zip"
|
||||
version '0.0.8'
|
||||
homepage 'http://developer.spotify.com/en/libspotify/overview/'
|
||||
md5 '47e4d355b59aadbd7fad564f5fc172bf'
|
||||
md5 'a59b824d36e689b7162d067d6e2497a7'
|
||||
|
||||
def install
|
||||
prefix.install 'share'
|
||||
(include+'libspotify').install "libspotify.framework/Versions/0.0.7/Headers/api.h"
|
||||
lib.install "libspotify.framework/Versions/0.0.7/libspotify" => "libspotify.0.0.7.dylib"
|
||||
(include+'libspotify').install "libspotify.framework/Versions/0.0.8/Headers/api.h"
|
||||
lib.install "libspotify.framework/Versions/0.0.8/libspotify" => "libspotify.0.0.8.dylib"
|
||||
doc.install Dir['doc/*']
|
||||
|
||||
cd lib
|
||||
ln_s "libspotify.0.0.7.dylib", "libspotify.dylib"
|
||||
ln_s "libspotify.0.0.8.dylib", "libspotify.dylib"
|
||||
|
||||
system "install_name_tool", "-id",
|
||||
"#{HOMEBREW_PREFIX}/lib/libspotify.0.0.7.dylib",
|
||||
"#{HOMEBREW_PREFIX}/lib/libspotify.0.0.8.dylib",
|
||||
"libspotify.dylib"
|
||||
|
||||
(lib+'pkgconfig/libspotify.pc').write pc_content
|
||||
|
|
Loading…
Reference in a new issue