mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 15:37:49 +00:00
pyload: fix build, fix install, fix start script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
a3b7fa466b
commit
acf561b3ed
@ -33,4 +33,4 @@ mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/pylib/Crypto
|
||||
cp -R $BUILD/pycrypto*/build/lib.linux*/Crypto/* $ADDON_BUILD/$PKG_ADDON_ID/pylib/Crypto
|
||||
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/pyload
|
||||
cp -PR $PKG_BUILD/* $ADDON_BUILD/$PKG_ADDON_ID/pyload
|
||||
cp -PR $PKG_BUILD/pyload/* $ADDON_BUILD/$PKG_ADDON_ID/pyload
|
||||
|
@ -1,2 +1,5 @@
|
||||
2.0.1
|
||||
- update to pyload-0.4.9
|
||||
|
||||
0.99.1
|
||||
- initial version pyload-0.4.7
|
||||
|
@ -29,4 +29,4 @@
|
||||
################################################################################
|
||||
# start pyload
|
||||
################################################################################
|
||||
python $ADDON_DIR/pyload/pyLoadCore.py -daemon --configdir=$ADDON_HOME
|
||||
python $ADDON_DIR/pyload/pyLoadCore.py --daemon --configdir=$ADDON_HOME
|
||||
|
@ -20,4 +20,4 @@
|
||||
|
||||
import xbmc, time, os, subprocess
|
||||
|
||||
os.system("pyload.service")
|
||||
subprocess.Popen("pyload.service", shell=True, close_fds=True)
|
30
packages/addons/service/downloadmanager/pyload/unpack
Executable file
30
packages/addons/service/downloadmanager/pyload/unpack
Executable file
@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
ZIP_PKG="`echo $PKG_URL | sed 's%.*/\(.*\)$%\1%'`"
|
||||
|
||||
mkdir -p $BUILD/${PKG_NAME}-${PKG_VERSION}
|
||||
|
||||
# unzip main archive
|
||||
unzip $SOURCES/$1/$ZIP_PKG -d $BUILD/${PKG_NAME}-${PKG_VERSION} >/dev/null 2>&1
|
Loading…
x
Reference in New Issue
Block a user