aboutsummaryrefslogtreecommitdiff
path: root/extra/alsa-utils/build
blob: 4db2beaf8bba66d005f80c42a2dc98c65729cea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

patch -p1 < fix-limits.patch

./configure \
    --disable-alsaconf \
    --disable-bat \
    --disable-xmlto \
    --prefix=/usr

make
make DESTDIR="$1" install

# Get rid of sbin
mv "$1/usr/sbin/alsactl" "$1/usr/sbin/alsa-info.sh" "$1/usr/bin"
rm -rf "$1/usr/sbin"