diff options
| author | Mike McQuaid | 2014-07-03 21:43:32 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-07-03 22:33:21 +0100 |
| commit | 436bb178fd74e49a494174d60d7e1be53ebbd028 (patch) | |
| tree | 336cde9b09cbc8879109e463413a73dc55beefc9 /Library/Formula | |
| parent | fb93ea17ba7a9d7b9a2b2748affa83b454b64151 (diff) | |
| download | homebrew-436bb178fd74e49a494174d60d7e1be53ebbd028.tar.bz2 | |
libspotify: migrate to homebrew/binary.
Closes #30632.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libspotify.rb | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/Library/Formula/libspotify.rb b/Library/Formula/libspotify.rb deleted file mode 100644 index af7b5552a..000000000 --- a/Library/Formula/libspotify.rb +++ /dev/null @@ -1,32 +0,0 @@ -require 'formula' - -class Libspotify < Formula - homepage 'http://developer.spotify.com/en/libspotify/overview/' - url 'https://developer.spotify.com/download/libspotify/libspotify-12.1.51-Darwin-universal.zip' - sha1 '5a02b7af804661ebff0f4db01a85e91635de8fb3' - - def install - (include+'libspotify').install "libspotify.framework/Versions/12.1.51/Headers/api.h" - lib.install "libspotify.framework/Versions/12.1.51/libspotify" => "libspotify.12.1.51.dylib" - doc.install Dir['docs/*'] - doc.install %w(ChangeLog README LICENSE licenses.xhtml examples) - man3.install Dir['man3/*'] - lib.install_symlink "libspotify.12.1.51.dylib" => "libspotify.dylib" - lib.install_symlink "libspotify.12.1.51.dylib" => "libspotify.12.dylib" - (lib+'pkgconfig/libspotify.pc').write pc_file - end - - def pc_file; <<-EOS.undent - prefix=#{opt_prefix} - exec_prefix=${prefix} - libdir=${exec_prefix}/lib - includedir=${prefix}/include - - Name: libspotify - Description: Spotify client library - Version: #{version} - Libs: -L${libdir} -lspotify - Cflags: -I${includedir} - EOS - end -end |
