aboutsummaryrefslogtreecommitdiffstats
path: root/main/alsa-lib/APKBUILD
blob: 5cfebe20f6c5da60d668ea10cb1719defa30e05d (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
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alsa-lib
pkgver=1.0.27.1
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="17102aaab10e9d4b19f6b02937bab015  alsa-lib-1.0.27.1.tar.bz2"
sha256sums="690e07a3ef6270d40ed2130638dba3c18395aae8db4a109bcc473643ce29a03b  alsa-lib-1.0.27.1.tar.bz2"
sha512sums="546a52c5c23d51e3a49a36565c0bdda98efc3bbe8ba217c72cfb6986b0e1a6104a3040bc223a74966139416ce39709421a3131f3edb29362a3f949b0ae939909  alsa-lib-1.0.27.1.tar.bz2"