aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlex Pardoe2012-01-01 14:19:07 +0000
committerAdam Vandenberg2012-01-28 20:12:18 -0800
commitec08184687f4fb717eac627fcd5f682b041a5271 (patch)
tree626a167534371090a1d0bd1f8b82f5606b38e144 /Library
parent19d953eac31693dca16beb48f417dbf8b59bb623 (diff)
downloadhomebrew-ec08184687f4fb717eac627fcd5f682b041a5271.tar.bz2
lastfmlib 0.4.0
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>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/lastfmlib.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/lastfmlib.rb b/Library/Formula/lastfmlib.rb
new file mode 100644
index 000000000..2c7ae5a21
--- /dev/null
+++ b/Library/Formula/lastfmlib.rb
@@ -0,0 +1,15 @@
+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