aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-10-19 22:59:36 -0500
committerJack Nagel2013-10-19 23:00:31 -0500
commitf3fc0e23e8cfbc70d5f5f1722a050df8026af1a0 (patch)
tree239d47233737a12a5e7772e657abe82d2cdc02b4 /Library
parentc1bc6589e8c354b22d03998b9b60ed9055590adb (diff)
downloadhomebrew-f3fc0e23e8cfbc70d5f5f1722a050df8026af1a0.tar.bz2
liblastfm 1.0.8
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/liblastfm.rb15
1 files changed, 8 insertions, 7 deletions
diff --git a/Library/Formula/liblastfm.rb b/Library/Formula/liblastfm.rb
index 0d97fd6c1..e8ca82baa 100644
--- a/Library/Formula/liblastfm.rb
+++ b/Library/Formula/liblastfm.rb
@@ -1,19 +1,20 @@
require 'formula'
class Liblastfm < Formula
- homepage 'https://github.com/mxcl/liblastfm/'
- url 'https://github.com/mxcl/liblastfm/archive/e380c7f03f4b2417db87372df733606f4a153c53.tar.gz'
- version '0.3.3.1'
- sha1 '68c0d23364afd7e6bb5dbd9b71419d808fe0d005'
+ homepage 'https://github.com/lastfm/liblastfm/'
+ url 'https://github.com/lastfm/liblastfm/archive/1.0.8.tar.gz'
+ sha1 '5ef084d0ba27c5e2bc1ec1754618ded0cd2b430e'
depends_on 'pkg-config' => :build
+ depends_on 'cmake' => :build
depends_on 'qt'
depends_on 'fftw'
depends_on 'libsamplerate'
def install
- system "./configure", "--release", "--prefix", prefix
- system "make"
- system "make install"
+ mkdir 'build' do
+ system 'cmake', '..', *std_cmake_args
+ system 'make', 'install'
+ end
end
end