blob: c7db96896050a7ccb4ce43a1da8d3a24695ee30b (
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
|
# Contributor: Timo Teras <timo.teras@iki.fi>
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=libpri
pkgver=1.6.0
_pkgver=$pkgver
pkgrel=0
pkgdesc="Primary Rate ISDN (PRI) library"
url="http://www.asterisk.orig"
arch="all"
license="GPL"
depends=""
makedepends="dahdi-linux-dev dahdi-tools-dev"
install=
subpackages="$pkgname-dev"
source="http://downloads.digium.com/pub/telephony/libpri/releases/$pkgname-$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"
prepare() {
cd "$builddir"
default_prepare || return 1
sed -i -e 's,^#include <sys/signal.h>$,#include <signal.h>,g' \
pritest.c testprilib.c
}
build() {
cd "$builddir"
make LDCONFIG="echo" || return 1
}
package() {
cd "$builddir"
make LDCONFIG="echo" INSTALL_PREFIX="$pkgdir" install
}
md5sums="299beef98fc6e8274bcfa2720db13c6e libpri-1.6.0.tar.gz"
sha256sums="7225ea7ec334a115f9dc08e71f55589c38cb4e00b13964cd2f08cc4e6123e3f6 libpri-1.6.0.tar.gz"
sha512sums="3eb876477cdd27c88f274e4a2e35a67f660b8d8eed140e56c40769982a58f1cdd4e5be352f8f220dc100eedf1ad09286c578430a52d9abe326440c8cbf517fa5 libpri-1.6.0.tar.gz"
|