9de600e1a0
lastfmlib is a C/C++ library that provides an implementation of the Last.fm Submissions Protocol v1.2. Whilst there are other libraries for scrobbling in Homebrew, this older library is required for MediaTomb's Last.fm functionality. For more information see: http://code.google.com/p/lastfmlib/ or http://mediatomb.cc/pages/documentation#id2845313. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
15 lines
398 B
Ruby
15 lines
398 B
Ruby
require 'formula'
|
|
|
|
class Lastfmlib < Formula
|
|
url 'http://lastfmlib.googlecode.com/files/lastfmlib-0.4.0.tar.gz'
|
|
homepage 'http://code.google.com/p/lastfmlib/'
|
|
md5 'f6f00882c15b8cc703718d22e1b1871f'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|