[arch-commits] Commit in libsrtp/trunk (PKGBUILD)

Andrea Scarpino andrea at nymeria.archlinux.org
Sat Jun 15 10:01:06 UTC 2013


    Date: Saturday, June 15, 2013 @ 12:01:06
  Author: andrea
Revision: 188534

upgpkg: libsrtp 15.1c9bd90-1

ortp needs srtp from the linphone fork

Modified:
  libsrtp/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-06-15 10:01:03 UTC (rev 188533)
+++ PKGBUILD	2013-06-15 10:01:06 UTC (rev 188534)
@@ -5,23 +5,31 @@
 # Contributor: Michal Krenek <mikos at 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




More information about the arch-commits mailing list