diff options
| author | root <root@elwms02.(none)> | 2010-04-06 16:13:08 +0200 |
|---|---|---|
| committer | root <root@elwms02.(none)> | 2010-04-06 16:13:08 +0200 |
| commit | 0e7005fcc7483c01aa102fbea358c5ac65a48d62 (patch) | |
| tree | 11517ce0d3d2977c6732b3aa583b0008083e0bd3 /plugins/vcd | |
| download | x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2 | |
hello world
Diffstat (limited to 'plugins/vcd')
| -rw-r--r-- | plugins/vcd/patches/vcd-0.9-makefile.diff | 12 | ||||
| -rw-r--r-- | plugins/vcd/plugin.sh | 51 |
2 files changed, 63 insertions, 0 deletions
diff --git a/plugins/vcd/patches/vcd-0.9-makefile.diff b/plugins/vcd/patches/vcd-0.9-makefile.diff new file mode 100644 index 0000000..3ca6ca0 --- /dev/null +++ b/plugins/vcd/patches/vcd-0.9-makefile.diff @@ -0,0 +1,12 @@ +diff -ruN vcd-0.9-orig/Makefile vcd-0.9/Makefile +--- vcd-0.9-orig/Makefile ++++ vcd-0.9/Makefile +@@ -47,7 +47,7 @@ + + ### Includes and Defines (add further entries here): + +-INCLUDES = -I$(VDRINC) -I$(DVBDIR) ++INCLUDES += -I$(VDRDIR)/include + + DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -D_GNU_SOURCE + diff --git a/plugins/vcd/plugin.sh b/plugins/vcd/plugin.sh new file mode 100644 index 0000000..e19b4a8 --- /dev/null +++ b/plugins/vcd/plugin.sh @@ -0,0 +1,51 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 12.03.2008 +# +# vdr-vcd + +# defaults +source ./../../x-vdr.conf +source ./../../setup.conf +source ./../../functions +WEB="http://www.heiligenmann.de/vdr/download/vdr-vcd-0.9.tgz" +VERSION="vcd-0.9" +LINK="vcd" + +VAR=`basename $WEB` +DIR=`pwd` + +# plugin entfernen +function clean_plugin() { + cd $SOURCEDIR/VDR/PLUGINS/src + rm -rf $LINK* + rm -f $VDRLIBDIR/libvdr-$LINK* + log "cleaning $LINK" +} + +# plugin installieren +function install_plugin() { + download_plugin + extract_plugin + cd $SOURCEDIR/VDR/PLUGINS/src + rm -f $LINK + ln -vfs $VERSION $LINK + patch_plugin + + ## plugin specials - start ## + + ## plugin specials - ende ## +} + +# plugin commands +if [ $# \> 0 ]; then + cmd=$1 + cmd_plugin +else + install_plugin + log "install-plugin fuer $VERSION ist fertig" +fi + +exit 0 |
