mirror of
https://github.com/larsimmisch/pyalsaaudio.git
synced 2026-04-16 08:05:30 +00:00
23 lines
353 B
Bash
Executable File
23 lines
353 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# NOTE: ensure to use the correct package manager depending on the manylinux
|
|
# image used.
|
|
|
|
if which yum; then
|
|
yum install -y alsa-lib-devel
|
|
exit
|
|
fi
|
|
|
|
if which apk; then
|
|
apk add alsa-lib-dev
|
|
exit
|
|
fi
|
|
|
|
if which apt-get; then
|
|
apt-get install -y libasound2-dev
|
|
exit
|
|
fi
|
|
|
|
echo "Cannot install ALSA headers! No package manager detected"
|
|
exit 1
|