summaryrefslogtreecommitdiff
path: root/extra/libsrtp/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-08-05 14:38:49 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-08-05 14:38:49 +0200
commit8fbd202239b8833af79e1deefcadc128b7e979eb (patch)
treee47b5bace70278f53b24112f2ba9e4f5bb521061 /extra/libsrtp/PKGBUILD
parentc5acd40a763f8688aa564679643e6d5458425d4d (diff)
Fix libsrtp using a predefined constant as a variable.
Diffstat (limited to 'extra/libsrtp/PKGBUILD')
-rw-r--r--extra/libsrtp/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/libsrtp/PKGBUILD b/extra/libsrtp/PKGBUILD
index 13f8142c3..1013f6bc8 100644
--- a/extra/libsrtp/PKGBUILD
+++ b/extra/libsrtp/PKGBUILD
@@ -9,13 +9,16 @@ 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')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
-source=("http://downloads.sourceforge.net/srtp/srtp-${pkgver}.tgz")
-md5sums=('9b449edb011c934ca97009e7e0566d22')
+source=("http://downloads.sourceforge.net/srtp/srtp-${pkgver}.tgz"
+ "mips.patch")
+md5sums=('9b449edb011c934ca97009e7e0566d22'
+ 'bfb3ec203daf786b9ffb33f30cb126ea')
build() {
cd "${srcdir}"/srtp
+ patch -Np1 -i "$srcdir/mips.patch"
./configure --prefix=/usr
make CFLAGS="${CFLAGS} -fPIC"
}