|
|
# It could be used for special startup actions for this plugins, or to create the | # It could be used for special startup actions for this plugins, or to create the |
# plugin command line options from a nicer version of a conf.d file. | # plugin command line options from a nicer version of a conf.d file. |
| |
inherit base eutils flag-o-matic |
inherit base eutils flag-o-matic multilib |
| |
IUSE="debug" | IUSE="debug" |
| |
|
|
DEPEND="media-tv/linuxtv-dvb-headers" | DEPEND="media-tv/linuxtv-dvb-headers" |
| |
# Where should the plugins live in the filesystem | # Where should the plugins live in the filesystem |
VDR_PLUGIN_DIR="/usr/lib/vdr/plugins" |
VDR_PLUGIN_DIR="/usr/$(get_libdir)/vdr/plugins" |
| |
VDR_RC_DIR="/usr/lib/vdr/rcscript" |
VDR_RC_DIR="/usr/$(get_libdir)/vdr/rcscript" |
| |
# Pathes to includes | # Pathes to includes |
VDR_INCLUDE_DIR="/usr/include" | VDR_INCLUDE_DIR="/usr/include" |
|
|
| |
| |
| |
insinto /usr/lib/vdr/checksums |
insinto /usr/$(get_libdir)/vdr/checksums |
if [[ -f ${ROOT}/usr/lib/vdr/checksums/header-md5-vdr ]]; then |
if [[ -f ${ROOT}/usr/$(get_libdir)/vdr/checksums/header-md5-vdr ]]; then |
newins ${ROOT}/usr/lib/vdr/checksums/header-md5-vdr header-md5-${PN} |
newins ${ROOT}/usr/$(get_libdir)/vdr/checksums/header-md5-vdr header-md5-${PN} |
else | else |
if which md5sum >/dev/null 2>&1; then | if which md5sum >/dev/null 2>&1; then |
cd ${S} | cd ${S} |