mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 12:04:36 +08:00
41 lines
950 B
Bash
41 lines
950 B
Bash
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Yejun Yang <yejunx AT gmail DOT com>
|
|
# Contributor: Michal Krenek <mikos@sg1.cz>
|
|
|
|
pkgname=libsrtp
|
|
pkgver=15.1c9bd90
|
|
pkgrel=3
|
|
pkgdesc="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
|
|
url="http://srtp.sourceforge.net/srtp.html"
|
|
arch=('x86_64')
|
|
license=('BSD')
|
|
depends=('glibc')
|
|
makedepends=('git')
|
|
source=("git://git.linphone.org/srtp.git#commit=1c9bd90" 7713d5706524f9f1ee94fd6b55125357e63656d5.patch)
|
|
md5sums=('SKIP'
|
|
'33b3ba860560a4d9dee244caf73eceef')
|
|
|
|
pkgver() {
|
|
cd srtp
|
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
|
}
|
|
|
|
prepare() {
|
|
cd srtp
|
|
patch -p1 -i ../7713d5706524f9f1ee94fd6b55125357e63656d5.patch
|
|
}
|
|
|
|
build() {
|
|
cd srtp
|
|
autoconf
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd srtp
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|