summaryrefslogtreecommitdiff
path: root/extra/libsrtp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-16 01:26:25 -0700
committerroot <root@rshg054.dnsready.net>2013-06-16 01:26:25 -0700
commit44c10f274ec720a1512b15457b9eeffea28c6041 (patch)
tree48d27d6116dfd4fdce957af918c3d62385fd9226 /extra/libsrtp
parent0a069ede63336b105cda051cebe136f2592847d2 (diff)
Sun Jun 16 01:25:28 PDT 2013
Diffstat (limited to 'extra/libsrtp')
-rw-r--r--extra/libsrtp/PKGBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/extra/libsrtp/PKGBUILD b/extra/libsrtp/PKGBUILD
index 13f8142c3..731f2ea75 100644
--- a/extra/libsrtp/PKGBUILD
+++ b/extra/libsrtp/PKGBUILD
@@ -1,27 +1,35 @@
-# $Id: PKGBUILD 159152 2012-05-16 20:08:38Z andrea $
+# $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=1.4.4
-pkgrel=2
+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')
license=('BSD')
-source=("http://downloads.sourceforge.net/srtp/srtp-${pkgver}.tgz")
-md5sums=('9b449edb011c934ca97009e7e0566d22')
+depends=('glibc')
+makedepends=('git')
+source=("git://git.linphone.org/srtp.git#commit=1c9bd90")
+md5sums=('SKIP')
+
+pkgver() {
+ cd srtp
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
build() {
- cd "${srcdir}"/srtp
+ cd srtp
+ autoconf
./configure --prefix=/usr
- make CFLAGS="${CFLAGS} -fPIC"
+ make
}
package() {
- cd "${srcdir}"/srtp
+ cd srtp
make DESTDIR="${pkgdir}" install
install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE