summaryrefslogtreecommitdiff
path: root/extra/libsrtp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libsrtp/PKGBUILD')
-rw-r--r--extra/libsrtp/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/libsrtp/PKGBUILD b/extra/libsrtp/PKGBUILD
new file mode 100644
index 000000000..13f8142c3
--- /dev/null
+++ b/extra/libsrtp/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 159152 2012-05-16 20:08:38Z 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
+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')
+
+build() {
+ cd "${srcdir}"/srtp
+ ./configure --prefix=/usr
+ make CFLAGS="${CFLAGS} -fPIC"
+}
+
+package() {
+ cd "${srcdir}"/srtp
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}