blob: 7ae4a6bde525d7e2e27f3260e103bca82e751634 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/sh
NAME="libcanberra"
DESC="Simple audio library for GTK applications"
MAKEDEPS="make "
DEPS="eudev libvorbis musl libtool "
PKG_VER=0.30
SOURCE="https://dev.alpinelinux.org/archive/libcanberra/libcanberra-$PKG_VER.tar.xz"
ADDITIONAL="fix-build-with-no-lynx-installed.patch dont-assume-all-GdkDisplays-are-GdkX11Displays.patch "
prepare () {
apply_patches
autoreconf -if
}
build () {
./configure \
--prefix=/usr \
--bindir=/usr/bin \
--sysconfdir=/etc \
--enable-alsa \
--enable-null \
--disable-lynx \
--disable-oss \
--with-builtin=dso
make
}
package () {
make DESTDIR=$PKG_DEST install
}
|