aboutsummaryrefslogtreecommitdiffstats
path: root/main/spandsp/APKBUILD
blob: 68f169f0568f1f8a1cecfca2a022b2bd4017f7bd (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
36
37
38
39
40
41
42
43
44
45
# Contributor: Carlo Landmeter
# Maintainer:  Natanael Copa <ncopa@alpinelinux.org>
pkgname=spandsp
pkgver=0.0.6
_ver=${pkgver/_/}
pkgrel=0
pkgdesc="SpanDSP is a library of DSP functions for telephony"
url="http://www.soft-switch.org/installing-spandsp.html"
arch="all"
license="GPL"
depends=
depends_dev="tiff-dev"
makedepends="$depends_dev"
install=
subpackages="$pkgname-dev"
source="http://www.soft-switch.org/downloads/spandsp/$pkgname-$_ver.tar.gz"

_builddir="$srcdir"/$pkgname-0.0.6

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make -j1 DESTDIR="$pkgdir" install
}

md5sums="897d839516a6d4edb20397d4757a7ca3  spandsp-0.0.6.tar.gz"
sha256sums="cc053ac67e8ac4bb992f258fd94f275a7872df959f6a87763965feabfdcc9465  spandsp-0.0.6.tar.gz"
sha512sums="16bb215ca89a39282e832403f69bc4c98ad3fe35ab3a6eb4731ee5029a6acd9b2df243c3701de845441cbdc16c88b3cd398ef15dc3502e45d5aeca8a161917d4  spandsp-0.0.6.tar.gz"