1 # Contributor: David Spicer <azleifel at googlemail dot com>
8 pkgdesc="A VDR plugin that displays a background image for radio channels"
9 url="http://www.linuxtv.org/vdrwiki/index.php/Radio-plugin"
12 install=${pkgname}.install
13 source=(http://www.egal-vdr.de/plugins/${pkgname}-${pkgver}.tgz
14 vdr-radio-0.2.5-glibc-2.10.diff)
15 md5sums=('71d56ca88d3e78338c12fa72d5c30c4f'
16 '73650e5e0d69e4da2d3a46a00bb412ad')
19 cd ${srcdir}/${_pluginname}-${pkgver}
21 patch -Np1 -i ${startdir}/vdr-radio-0.2.5-glibc-2.10.diff || return 1
23 # Assumed VDR directory environment (VDRDIR/Make.config):
24 # MANDIR = /usr/share/man
26 # LOCDIR = /usr/share/locale
27 # PLUGINLIBDIR = /usr/lib/vdr
28 # VIDEODIR = /var/spool/video
31 install -d -m755 ${pkgdir}/etc/vdr/plugins/${_pluginname} || return 1
32 install -d -m755 ${pkgdir}/usr/lib/vdr || return 1
33 install -d -m755 ${pkgdir}/usr/share/doc/${pkgname} || return 1
34 install -d -m755 ${pkgdir}/usr/share/locale || return 1
36 make VDRDIR=/usr/include/vdr \
37 LIBDIR=${pkgdir}/usr/lib/vdr \
38 LOCALEDIR=${pkgdir}/usr/share/locale all || return 1
40 # Install configuration files
41 install -m644 config/mpegstill/rtext*.mpg ${pkgdir}/etc/vdr/plugins/${_pluginname} || return 1
42 ln -s rtextUnten-kleo2-live.mpg ${pkgdir}/etc/vdr/plugins/${_pluginname}/radio.mpg || return 1
43 ln -s rtextUnten-kleo2-replay.mpg ${pkgdir}/etc/vdr/plugins/${_pluginname}/replay.mpg || return 1
44 install -m644 config/scripts/LIESMICH.Scripts ${pkgdir}/etc/vdr/plugins/${_pluginname} || return 1
45 install -m755 config/scripts/radioinfo-* ${pkgdir}/etc/vdr/plugins/${_pluginname} || return 1
48 for _file in HISTORY LIESMICH.bitte README; do
49 install -m644 ${_file} ${pkgdir}/usr/share/doc/${pkgname}/${_file} || return 1