Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
880a1c0e
Commit
880a1c0e
authored
Jul 05, 2006
by
yanmorin
Browse files
Adding portaudio script to build portaudio and portaudiocpp
parent
3c8c4bd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/portaudio.sh
0 → 100755
View file @
880a1c0e
#!/bin/sh
PORTAUDIO_SOURCE
=
http://portaudio.com/archives/pa_snapshot_v19.tar.gz
PORTAUDIO_FILE
=
$(
basename
$PORTAUDIO_SOURCE
)
PORTAUDIO_DIR
=
portaudio
PORTAUDIO_CONFIGURE_ARG
=
if
[
!
-f
$PORTAUDIO_FILE
]
;
then
wget
$PORTAUDIO_SOURCE
fi
if
[
!
-d
$PORTAUDIO_DIR
]
;
then
tar
xzvf
$PORTAUDIO_FILE
fi
if
[
!
-f
$PORTAUDIO_DIR
/Makefile
]
;
then
cd
$PORTAUDIO_DIR
./configure
--enable-cxx
$PORTAUDIO_CONFIGURE_ARG
make
echo
"To install portaudio (as root): "
echo
"su -c
\"
cd
$PORTAUDIO_DIR
&& make install
\"
"
echo
""
fi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment