aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-net-ssleay/ortp/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-net-ssleay/ortp/APKBUILD')
-rw-r--r--main/perl-net-ssleay/ortp/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/main/perl-net-ssleay/ortp/APKBUILD b/main/perl-net-ssleay/ortp/APKBUILD
new file mode 100644
index 0000000000..93b0dd7669
--- /dev/null
+++ b/main/perl-net-ssleay/ortp/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=ortp
+pkgver=0.22.0
+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 --prefix=/usr \
+ --disable-static \
+ --enable-ipv6 \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="119357e1d904be0289e57c80e5ad90ba ortp-0.22.0.tar.gz"
+sha256sums="6e37e29b3c3559bac1f2ae0c977f6ceb4d4ce8dc713b691dea8bae57bda92d0b ortp-0.22.0.tar.gz"
+sha512sums="0453f19fd3388c3dcd12f118dbfc1a460fae77e4f9e82b1b71f4014e3bbba4d480f811d07bc781dced1fb2685901eaea364c8276c0d083f5e8d6b7074f7c4fba ortp-0.22.0.tar.gz"