1 # Maintainer: David Spicer <azleifel at googlemail dot com>
2 # Contributor: Mathias Fussenegger <dasjordi@gmail.com>
9 pkgdesc="A VDR plugin that implements the VTP (Video Transfer Protocol)"
10 url="http://projects.vdr-developer.org/projects/plg-streamdev"
12 depends=('vdr' 'gcc-libs')
13 backup=('etc/vdr/plugins/streamdev/streamdevhosts.conf'
14 'etc/vdr/plugins/streamdev-server/streamdevhosts.conf')
15 install=${pkgname}.install
16 source=(http://projects.vdr-developer.org/attachments/download/497/${pkgname}-${pkgver}.tgz)
17 md5sums=('6abebb62f5825324092ae1c7df3692c8')
20 cd "${srcdir}/${_pluginname}-${pkgver}"
22 # Assumed VDR directory environment (VDRDIR/Make.config):
23 # MANDIR = /usr/share/man
25 # LOCDIR = /usr/share/locale
26 # PLUGINLIBDIR = /usr/lib/vdr
27 # VIDEODIR = /var/spool/video
30 install -d -m755 "${pkgdir}/etc/vdr/plugins/${_pluginname}-server"
31 install -d -m755 "${pkgdir}/usr/lib/vdr"
32 install -d -m755 "${pkgdir}/usr/share/doc/${pkgname}"
33 install -d -m755 "${pkgdir}/usr/share/locale"
35 make VDRDIR="/usr/include/vdr" \
36 LIBDIR="${pkgdir}/usr/lib/vdr" \
37 LOCALEDIR="${pkgdir}/usr/share/locale" all
39 # Install configuration etc. files
40 install -m755 streamdev-server/externremux.sh "${pkgdir}/etc/vdr/plugins/${_pluginname}-server"
41 install -m644 streamdev-server/streamdevhosts.conf "${pkgdir}/etc/vdr/plugins/${_pluginname}-server"
44 for _file in CONTRIBUTORS HISTORY PROTOCOL README; do
45 install -m644 "${_file}" "${pkgdir}/usr/share/doc/${pkgname}/${_file}"