summaryrefslogtreecommitdiff
path: root/community/mediaproxy/PKGBUILD
blob: 4398de8b7ce47e32c7e82d79edd5e91b91287184 (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
# $Id: PKGBUILD 76639 2012-09-25 15:05:50Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Colin Pitrat <colin.pitrat@gmail.com>

pkgname=mediaproxy
pkgver=2.5.2
pkgrel=2
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
}