PKGBUILDs/community/mediaproxy/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
706 B
Bash

# Contributor: Colin Pitrat <colin.pitrat@gmail.com>
pkgname=mediaproxy
pkgver=2.3.5
pkgrel=1
pkgdesc="Open-source media proxy for OpenSER"
url="http://mediaproxy.ag-projects.com/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('python' 'libnetfilter_conntrack' '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=('539c33aac92e3341d7e2cce4a436f421'
'64042f4686de69a9bdd27d51cbe8a548')
build()
{
cd $srcdir/mediaproxy-$pkgver
install -D -m0755 $srcdir/mediaproxy.init $pkgdir/etc/rc.d/mediaproxy && \
python setup.py install --root=$pkgdir
}