blob: e8ca82baae930b5d5e95acc1576c9f4435293458 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  | 
require 'formula'
class Liblastfm < Formula
  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
    mkdir 'build' do
      system 'cmake', '..', *std_cmake_args
      system 'make', 'install'
    end
  end
end
  |