2013-12-13 00:06:48 -05:00
|
|
|
using BinDeps
|
2015-11-11 16:31:09 -05:00
|
|
|
using Compat
|
2013-12-13 00:06:48 -05:00
|
|
|
|
2013-12-14 00:44:04 -05:00
|
|
|
@BinDeps.setup
|
|
|
|
|
2013-12-13 00:06:48 -05:00
|
|
|
ENV["JULIA_ROOT"] = abspath(JULIA_HOME, "../../")
|
|
|
|
|
2013-12-14 00:44:04 -05:00
|
|
|
libportaudio = library_dependency("libportaudio")
|
|
|
|
|
|
|
|
# TODO: add other providers with correct names
|
2016-03-20 00:59:36 -04:00
|
|
|
provides(AptGet, "libportaudio2", libportaudio)
|
2014-09-04 09:18:03 -04:00
|
|
|
provides(Pacman, "portaudio", libportaudio)
|
2014-08-25 16:50:04 -04:00
|
|
|
|
2014-01-05 23:44:50 -05:00
|
|
|
|
|
|
|
@osx_only begin
|
|
|
|
using Homebrew
|
2014-09-04 09:18:03 -04:00
|
|
|
provides(Homebrew.HB, "portaudio", libportaudio)
|
|
|
|
end
|
|
|
|
|
|
|
|
@windows_only begin
|
|
|
|
using WinRPM
|
2014-10-26 14:47:36 -04:00
|
|
|
provides(WinRPM.RPM, "libportaudio2", libportaudio, os = :Windows)
|
2014-01-05 23:44:50 -05:00
|
|
|
end
|
2013-12-14 00:44:04 -05:00
|
|
|
|
2016-03-18 18:09:37 -04:00
|
|
|
@BinDeps.install @compat(Dict(:libportaudio => :libportaudio, ))
|