summaryrefslogtreecommitdiff
path: root/community/mediaproxy/PKGBUILD
blob: 0eb5953861eff33fc1add636ffd6b51d33818087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 56530 2011-10-07 21:31:08Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Colin Pitrat <colin.pitrat@gmail.com>

pkgname=mediaproxy
pkgver=2.5.2
pkgrel=1
pkgdesc="Open-source media proxy for OpenSER"
url="http://mediaproxy.ag-projects.com/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('python2' 'libnetfilter_conntrack' 'iptables'
	 'python-application' 'python-cjson' 'python-gnutls')
backup=('opt/mediaproxy/config.ini')
source=("http://download.ag-projects.com/MediaProxy/mediaproxy-$pkgver.tar.gz"
	"mediaproxy.init")
md5sums=('840de8f52e656991be728c15ec30bb5e'
         '64042f4686de69a9bdd27d51cbe8a548')

build()
{
  cd $srcdir/mediaproxy-$pkgver
  install -D -m0755 $srcdir/mediaproxy.init $pkgdir/etc/rc.d/mediaproxy
  python2 setup.py install --root=$pkgdir
}