aboutsummaryrefslogtreecommitdiffstats
path: root/main/ortp/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-05-01 09:38:16 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-01 13:59:57 +0000
commit0b2dfa57adb670c99dcbb389e6e77f8025cabccc (patch)
tree807db204b0376f25a59236baf2ac6124dedd8e2a /main/ortp/APKBUILD
parent4dee62745e4b3967a246532cdb65ccf446e78566 (diff)
downloadaports-0b2dfa57adb670c99dcbb389e6e77f8025cabccc.tar.gz
aports-0b2dfa57adb670c99dcbb389e6e77f8025cabccc.tar.bz2
aports-0b2dfa57adb670c99dcbb389e6e77f8025cabccc.tar.xz
main/ortp: upgrade to 1.0.2, removed duplicate from community, modernized APKBUILD
needed by sngtc_client which is needed by Freeswitch
Diffstat (limited to 'main/ortp/APKBUILD')
-rw-r--r--main/ortp/APKBUILD47
1 files changed, 15 insertions, 32 deletions
diff --git a/main/ortp/APKBUILD b/main/ortp/APKBUILD
index 5dff81a527..5e9289b6a0 100644
--- a/main/ortp/APKBUILD
+++ b/main/ortp/APKBUILD
@@ -1,47 +1,30 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ortp
-pkgver=0.25.0
+pkgver=1.0.2
+_pkgver=${pkgver}-0
pkgrel=0
-pkgdesc="A C library implementing the RTP protocol (RFC3550)"
-url="http://www.linphone.org/index.php/code_review/ortp"
+pkgdesc="oRTP is a library implemeting Real-time Transport Protocol (RFC3550), licensed under LGPL"
+url="http://www.linphone.org/technical-corner/ortp"
arch="all"
license="LGPL-2.0-or-later VSL"
-depends=""
-makedepends=""
-install=""
+makedepends="libtool automake autoconf bctoolbox-dev"
subpackages="$pkgname-dev"
-source="http://nongnu.askapache.com/linphone/ortp/sources/ortp-$pkgver.tar.gz
- "
+source="$pkgname-$pkgver.tar.gz::https://download.savannah.gnu.org/releases/linphone/$pkgname/sources/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$_pkgver"
-_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
+ default_prepare
+ ./autogen.sh
}
build() {
- cd "$_builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --disable-static \
- --enable-ipv6 \
- || return 1
- make || return 1
+ ./configure --prefix=/usr
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="f44b4ab2a8de32c19abfa584c4426f76 ortp-0.25.0.tar.gz"
-sha256sums="0deb826b79b1fd329f7638821d5439dc343bc55bb122daa6c90d19116cfe8d9a ortp-0.25.0.tar.gz"
-sha512sums="8e4ee626e644983d3839f5f0a300ba6781177f2b8d67c843270fc9db1486ee6c29baad4b95168021ac8cfb85f56adbfbc424e297a6ad3704071a01cf8871bef9 ortp-0.25.0.tar.gz"
+sha512sums="653f0a607ff8a3d44a81ff73840ffe121140d04288965f18e8e9dc1d09c28eb86cf8efef3b2bbbdff0e76299a2cf87a28d8028a70bf1918616fb10c61d77f95e ortp-1.0.2.tar.gz"