mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
27 lines
878 B
Bash
Executable File
27 lines
878 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
mkdir -p $INSTALL/usr/lib/vdr
|
|
cp $BUILD/$1*/lib$1*.so.* $INSTALL/usr/lib/vdr
|
|
|
|
for loc in $INCLUDED_LOCALES; do
|
|
LOCALE=`echo $loc|cut -f1 -d.`
|
|
if [ -d $BUILD/$1*/locale/$LOCALE ]; then
|
|
mkdir -p $INSTALL/usr/share/locale/$LOCALE
|
|
cp -a $BUILD/$1*/locale/$LOCALE/* $INSTALL/usr/share/locale/$LOCALE/
|
|
fi
|
|
done
|
|
|
|
PKG_DIR=`find $PACKAGES -type d -name $1`
|
|
|
|
mkdir -p $INSTALL/usr/config/vdr/plugins.d
|
|
cp $PKG_DIR/config/streamdev-server $INSTALL/usr/config/vdr/plugins.d/50_streamdev-server
|
|
cp $PKG_DIR/config/streamdev-client $INSTALL/usr/config/vdr/plugins.d/50_streamdev-client
|
|
|
|
mkdir -p $INSTALL/usr/config/vdr/plugins/streamdev
|
|
cp $PKG_BUILD/streamdev/streamdevhosts.conf $INSTALL/usr/config/vdr/plugins/streamdev
|
|
if [ "$SERVICES" = yes ]; then
|
|
echo '0.0.0.0/0' >> $INSTALL/usr/config/vdr/plugins/streamdev/streamdevhosts.conf
|
|
fi
|