mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 07:42:10 +01:00
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libsrtp
|
|
pkgver=1.5.4
|
|
pkgrel=0
|
|
pkgdesc="An implementation of the Secure Real-time Transport Protocol (SRTP)"
|
|
url="http://srtp.sourceforge.net"
|
|
arch="all"
|
|
license="BSD"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="$depends_dev automake autoconf libtool"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/cisco/libsrtp/archive/v$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/libsrtp-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
update_config_guess || return 1
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="64a9580f86a9c3e1c4986e944e6a5a84 libsrtp-1.5.4.tar.gz"
|
|
sha256sums="56a7b521c25134f48faff26b0b1e3d4378a14986a2d3d7bc6fefb48987304ff0 libsrtp-1.5.4.tar.gz"
|
|
sha512sums="fcf6a36a0f687a6aa2b245e4055332ae892c953e19ebe3bfb7d091da0a7afbfcb804d9f602bd2d849235b559d3ca7924ee00c7f0da419c23b053b096ef4ccd19 libsrtp-1.5.4.tar.gz"
|