blob: c6d6294f8bf90227e97b68d2853e3185d13b87d4 (
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
|
# $Id: PKGBUILD 188535 2013-06-15 10:01:17Z andrea $
# Maintainer:
# 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=1
pkgdesc="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
url="http://srtp.sourceforge.net/srtp.html"
arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
depends=('glibc')
makedepends=('git')
source=("git://git.linphone.org/srtp.git#commit=1c9bd90"
"mips.patch")
md5sums=('SKIP'
'bfb3ec203daf786b9ffb33f30cb126ea')
pkgver() {
cd srtp
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
prepare() {
cd srtp
patch -Np1 -i "$srcdir/mips.patch"
autoconf
}
build() {
cd srtp
./configure --prefix=/usr
make
}
package() {
cd srtp
make DESTDIR="${pkgdir}" install
install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
|