adds apt-get install of libportaudio19-dev to build.jl
This commit is contained in:
parent
47a587bc20
commit
0aeeb93cf8
1 changed files with 11 additions and 0 deletions
11
deps/build.jl
vendored
11
deps/build.jl
vendored
|
@ -1,7 +1,18 @@
|
||||||
using BinDeps
|
using BinDeps
|
||||||
|
|
||||||
|
@BinDeps.setup
|
||||||
|
|
||||||
ENV["JULIA_ROOT"] = abspath(JULIA_HOME, "../../")
|
ENV["JULIA_ROOT"] = abspath(JULIA_HOME, "../../")
|
||||||
|
|
||||||
|
libportaudio = library_dependency("libportaudio")
|
||||||
|
|
||||||
|
# TODO: add other providers with correct names
|
||||||
|
provides(AptGet,
|
||||||
|
{"portaudio19-dev" => libportaudio}
|
||||||
|
)
|
||||||
|
|
||||||
|
@BinDeps.install [:libportaudio => :libportaudio]
|
||||||
|
|
||||||
cd(joinpath(Pkg.dir(), "PortAudio", "deps", "src") )
|
cd(joinpath(Pkg.dir(), "PortAudio", "deps", "src") )
|
||||||
run(`make`)
|
run(`make`)
|
||||||
if (!ispath("../usr"))
|
if (!ispath("../usr"))
|
||||||
|
|
Loading…
Reference in a new issue