aboutsummaryrefslogtreecommitdiffstats
path: root/extra/libsndfile/APKBUILD
blob: 471c45a6576fb61600a2992bac4db46b8cb9f5f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsndfile
pkgver=1.0.20
pkgrel=0
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="alsa-lib flac uclibc"
makedepends="alsa-lib-dev flac-dev uclibc++-dev"
source="http://www.mega-nerd.com/$pkgname/$pkgname-$pkgver.tar.gz"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	export CXX="g++-uc"
	./configure --prefix=/usr \
		--disable-sqlite \
		|| return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="e0553e12c7a467af44693e95e2eac668  libsndfile-1.0.20.tar.gz"