1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
3 pkgname=linux-mtp-streaming-server
6 pkgdesc="streaming server for Linux MTPCenter 2.0 server solution for Pinnacle Showcenter and compatible media clients"
8 url="http://www.panczyk.eu/linux/mtp_center_eng.html"
11 depends=('libmysqlclient')
12 makedepends=('autoconf')
16 backup=(etc/linux-mtp-streaming-server/mtpserver.ini
17 etc/rc.d/linux-mtp-streaming-server)
19 install=$pkgname.install
20 source=(http://www.panczyk.eu/linux/download/linux_mtp_streaming_server-$pkgver.tar.gz
23 linux-mtp-streaming-server.sh)
24 md5sums=('d7650ee70282c8d262d68274ae10bc11'
25 '8c522435e9ee56997b94574e27af25e3'
26 '544edc96edfe790a3ec4b5f565d64a1f'
27 'ef02cd26ab8836c069ea3e1ab71fd67d')
30 cd "$srcdir/linux_mtp_streaming_server-$pkgver"
31 patch -Np0 -i $srcdir/compile.patch
32 patch -Np0 -i $srcdir/fix_docdir.patch
35 ./configure --prefix=/usr
40 cd "$srcdir/linux_mtp_streaming_server-$pkgver"
41 make DESTDIR="$pkgdir/" install || return 1
43 install -D -m644 doc/ChangeLog ${pkgdir}/usr/share/doc/linux_mtp_streaming_server/
44 # install daemon init script
45 install -D -m755 ${srcdir}/linux-mtp-streaming-server.sh ${pkgdir}/etc/rc.d/${pkgname}
46 # create config sample and folder
47 install -D -m755 ${srcdir}/linux_mtp_streaming_server-$pkgver/data/mtpserver.ini.sample ${pkgdir}/etc/${pkgname}/mtpserver.ini
52 #[root@workstation64 ~]# /usr/bin/linux_mtp_streaming_server -h
53 #Linux_MTPServer 1.1.2 (Linux)
54 #Usage: linux_mtp_streaming_server
55 # [-i mtpcenter main directory]
59 # [-p path of mtpserver.ini configuration file]
60 # [-P path and name of PID file]
61 # [-l path for mtpserver logging files]
62 # [-h this help screen]
64 #You need to use the -i option with path to Linux MTPCenter