blob: 57d4433c026fd243c8baf4b948c4393f87e0296d (
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
|
# Maintainer: Clarence <xjh.azzbcc@gmail.com>
_pkgname=spandsp
pkgname=${_pkgname}-fs
pkgver=3.0.0
pkgrel=1
pkgdesc="A DSP library for telephony (FreeSWITCH version)"
arch=('x86_64')
url="https://github.com/freeswitch/spandsp"
license=('LGPL' 'GPL')
depends=('libtiff')
makedepends=('gawk' 'sox' 'fftw')
provides=('spandsp')
conflicts=('spandsp')
source=("git+https://github.com/freeswitch/$_pkgname")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
awk '/^Version:/ { print $2 }' spandsp.spec
}
build() {
cd "$_pkgname"
./autogen.sh
./configure --prefix=/usr --enable-tests
make -C src
}
check() {
cd "$_pkgname"
make check
}
package() {
cd "$_pkgname"
make DESTDIR="$pkgdir" -C src install
make DESTDIR="$pkgdir" install-pkgconfigDATA
}
|