summaryrefslogtreecommitdiffstats
path: root/main/spandsp/APKBUILD
blob: b6e24db4b5113038fd53bdc1151b1094022e98f0 (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
# Contributor: Carlo Landmeter
# Maintainer: 
pkgname=spandsp
pkgver=0.0.6_pre17
pkgrel=2
pkgdesc="SpanDSP is a library of DSP functions for telephony"
url="http://www.soft-switch.org/installing-spandsp.html"
arch="x86 x86_64"
license="GPL"
depends=
makedepends=tiff-dev
install=
subpackages="$pkgname-dev"
source="http://www.soft-switch.org/downloads/spandsp/$pkgname-0.0.6pre17.tgz"

_builddir="$srcdir"/$pkgname-0.0.6

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

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

md5sums="cc860f77270cf3b881f8ccd42d2d0238  spandsp-0.0.6pre17.tgz"