PKGBUILDs/community/dvbshout/PKGBUILD

25 lines
864 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=dvbshout
pkgver=0.2
pkgrel=2
pkgdesc="Sends a DVB audio channel to an Icecast/Shoutcast server"
arch=('i686' 'x86_64')
url="http://www.ecs.soton.ac.uk/~njh/dvbshout/"
license=('GPL')
backup=('etc/dvbshout/dvbshout.conf')
depends=('libshout' 'perl' 'ortp')
source=(http://www.ecs.soton.ac.uk/~njh/dvbshout/dvbshout-$pkgver.tar.gz)
md5sums=('337d871e42b3c13b9dbef3e29b0d820b')
build() {
cd $startdir/src/dvbshout-$pkgver
./configure --prefix=/usr --sysconfdir=/etc/dvbshout
make || return 1
make DESTDIR=$startdir/pkg install
install -D -m 644 dvbshout-example.conf $startdir/pkg/etc/dvbshout/dvbshout.conf
install -D -m 755 scan2dvbshout.pl $startdir/pkg/usr/bin/scan2dvbshout.pl
}