blob: 1ca450d9ae6b0edaee294619baed58bae7f3bbc9 (
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
|
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=spandsp
pkgver=0.0.6_pre20
_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.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
rm "$pkgdir"/usr/lib/*.la
}
md5sums="9bdf1d027f1b5dc5e622d707fa1634cb spandsp-0.0.6pre20.tgz"
|