blob: 8085c5f94ad6c8d155c5156b6666ad0503507df7 (
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
|
# Contributor: Timo Teras <timo.teras@iki.fi>
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=libpri
pkgver=1.4.15
_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"
sed -i -e 's,^#include <sys/signal.h>$,#include <signal.h>,g' \
pritest.c testprilib.c
}
build() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg "$i"; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
make LDCONFIG="echo" || return 1
}
package() {
cd "$_builddir"
make LDCONFIG="echo" INSTALL_PREFIX="$pkgdir" install
}
md5sums="206fbcf014ad85bf6613f169ca425e7f libpri-1.4.15.tar.gz"
sha256sums="9af4192137b0364ebc1fb86ecceaf6bb154772d7b8f094a1a7b2f3dcddc032d5 libpri-1.4.15.tar.gz"
sha512sums="2737ad404440a0c809bf0bb0e406565757fe850040911561c2e5e64f4c49b02af69db0d23dac322dda354583bca0ced88becc07017e686a848b69c8f152fb9d4 libpri-1.4.15.tar.gz"
|