mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
vdr: Small adjustments.
* Make links for config.h and device.h to easily build plugins outside the VDR source tree. * Add vdr configuration file. * Remove some unused stuff from runvdr script.
This commit is contained in:
8
lfs/vdr
8
lfs/vdr
@@ -116,8 +116,16 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
# Install configuration.
|
||||
mkdir -pv /etc/vdr
|
||||
mkdir -pv /etc/sysconfig/vdr-plugins.d
|
||||
cd $(DIR_APP) && install -m 644 $(DIR_SRC)/config/vdr/vdr.sysconfig \
|
||||
/etc/sysconfig/vdr
|
||||
cd $(DIR_APP) && install -m 644 *.conf /etc/vdr
|
||||
|
||||
# Link development files.
|
||||
mkdir -pv /usr/lib/vdr
|
||||
cd $(DIR_APP) && cp -vf Make.global /usr/lib/vdr
|
||||
ln -svf ../../include/vdr/config.h /usr/lib/vdr/config.h
|
||||
ln -svf ../../include/vdr/device.h /usr/lib/vdr/device.h
|
||||
|
||||
# Install start links and backup include file.
|
||||
ln -sf ../init.d/vdr /etc/rc.d/rc3.d/S60vdr
|
||||
ln -sf ../init.d/vdr /etc/rc.d/rc0.d/K40vdr
|
||||
|
||||
Reference in New Issue
Block a user