2010-10-17 11:09:30 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Fluxus < Formula
|
2010-10-24 16:05:14 +00:00
|
|
|
head 'git://git.savannah.nongnu.org/fluxus.git'
|
2010-10-17 11:09:30 +00:00
|
|
|
homepage 'http://www.pawfal.org/fluxus/'
|
|
|
|
|
|
|
|
depends_on 'scons' => :build
|
|
|
|
|
|
|
|
depends_on 'plt-racket'
|
|
|
|
depends_on 'libsndfile'
|
|
|
|
depends_on 'glew'
|
|
|
|
depends_on 'liblo'
|
|
|
|
depends_on 'ode'
|
|
|
|
depends_on 'jack'
|
|
|
|
depends_on 'fftw'
|
|
|
|
depends_on 'jpeg'
|
|
|
|
depends_on 'libtiff'
|
|
|
|
|
|
|
|
def install
|
|
|
|
racket_prefix = Formula.factory("plt-racket").prefix
|
2010-10-24 16:05:14 +00:00
|
|
|
system 'scons', "Prefix=#{prefix}", "RacketLib=#{racket_prefix}/lib/racket",
|
|
|
|
"RacketCollects=#{racket_prefix}/lib/racket/collects",
|
|
|
|
"RacketInclude=#{racket_prefix}/include/racket", "RACKET_FRAMEWORK=0", "ADDONS=0",
|
|
|
|
"install"
|
2010-10-17 11:09:30 +00:00
|
|
|
end
|
|
|
|
end
|