aboutsummaryrefslogtreecommitdiffstats
path: root/main/alsa-lib/APKBUILD
blob: ba1d8c986dc2f2ebf8e32a0e0b6b69eb13adee2d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alsa-lib
pkgver=1.0.26
pkgrel=0
pkgdesc="An alternative implementation of Linux sound support"
url="http://www.alsa-project.org"
arch="all"
license="GPL"
depends=
subpackages="$pkgname-dev"
source="http://alsa.cybermirror.org/lib/$pkgname-$pkgver.tar.bz2"
build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr \
		--disable-python \
		--disable-static \
		--disable-resmgr \
		--enable-rawmidi \
		--enable-seq \
		--enable-aload \
		--disable-dependency-tracking \
		--without-versioned \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make -j1 DESTDIR="$pkgdir" install
	find "$pkgdir" -iname *.la -delete
}

md5sums="2dfa35d28471d721e592b616beedf965  alsa-lib-1.0.26.tar.bz2"