aboutsummaryrefslogtreecommitdiff
path: root/extra/alsa-lib/build
blob: 53c8114847bf2d6e85ff125e4a82d8b52958d18b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh -e

# patch -p1 < 1.2.5.patch

./configure \
    --prefix=/usr \
    --without-debug

make
make DESTDIR="$1" install

# Compile the static library. Due to a bug in libtool/alsa-lib you cannot
# compile static and shared libraries together.

make clean

./configure \
    --enable-static=yes \
    --enable-shared=no

make
clinst -Dm644 src/.libs/libasound.a "$1/usr/lib/libasound.a"