blob: a7f981982a74f56820e87966300a5a2733d9aef5 (
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
44
45
46
47
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ortp
pkgver=0.24.2
pkgrel=0
pkgdesc="A C library implementing the RTP protocol (RFC3550)"
url="http://www.linphone.org/index.php/code_review/ortp"
arch="all"
license="LGPLv2+ VSL"
depends=""
makedepends=""
install=""
subpackages="$pkgname-dev"
source="http://nongnu.askapache.com/linphone/ortp/sources/ortp-$pkgver.tar.gz
"
_builddir="$srcdir"/ortp-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
--enable-ipv6 \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="9eb17e1e79f25acb06bbacc06ad3958f ortp-0.24.2.tar.gz"
sha256sums="cb37c76985b3703157f0ed06d900d662b903ad3c5b772e2d1ea36478ad8a6616 ortp-0.24.2.tar.gz"
sha512sums="929ae28dc149dd87def41b8d8d9d3d07070321d3834cc2533e5a0796df2170f0acb25226cbb9b6b5d3d05b2f01a16c4ddcd02e4f0c1977177a02ff6a9915624c ortp-0.24.2.tar.gz"
|