diff options
author | root <root@rshg054.dnsready.net> | 2012-05-18 00:02:20 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-18 00:02:20 +0000 |
commit | 2f104ecf78d6a93ba8d67273b76364cb1365a6cf (patch) | |
tree | c93787a9c08d8cb41a424644dc09fc529dfd63f1 /extra/libsrtp | |
parent | f675762300c4ee2717e029975bb3f94312245276 (diff) |
Fri May 18 00:02:20 UTC 2012
Diffstat (limited to 'extra/libsrtp')
-rw-r--r-- | extra/libsrtp/PKGBUILD | 28 |
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 +} |