summaryrefslogtreecommitdiffstats
path: root/main/libsndfile/APKBUILD
blob: e78833623ebf130a29c7652df510402d9b89434a (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsndfile
pkgver=1.0.21
pkgrel=3
pkgdesc="A C library for reading and writing files containing sampled sound"
url="http://www.mega-nerd.com/libsndfile"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="alsa-lib-dev flac-dev"
source="http://www.mega-nerd.com/$pkgname/files/$pkgname-$pkgver.tar.gz"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--disable-sqlite \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="880a40ec636ab2185b97f8927299b292  libsndfile-1.0.21.tar.gz"